org.apache.cassandra.io
Class FileStruct
java.lang.Object
org.apache.cassandra.io.FileStruct
- All Implemented Interfaces:
- java.lang.Comparable<FileStruct>, java.util.Iterator<java.lang.String>
public class FileStruct
- extends java.lang.Object
- implements java.lang.Comparable<FileStruct>, java.util.Iterator<java.lang.String>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getFileName
public java.lang.String getFileName()
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
isExhausted
public boolean isExhausted()
getKey
public java.lang.String getKey()
getColumnFamily
public ColumnFamily getColumnFamily()
compareTo
public int compareTo(FileStruct f)
- Specified by:
compareTo
in interface java.lang.Comparable<FileStruct>
seekTo
public void seekTo(java.lang.String seekKey)
advance
public void advance(boolean materialize)
throws java.io.IOException
- Throws:
java.io.IOException
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<java.lang.String>
next
public java.lang.String next()
- do not mix with manual calls to advance().
- Specified by:
next
in interface java.util.Iterator<java.lang.String>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<java.lang.String>
Copyright © 2009 The Apache Software Foundation