Package com.arcadedb.index.lsm
Class LSMTreeIndexCursor
- java.lang.Object
-
- com.arcadedb.index.lsm.LSMTreeIndexCursor
-
- All Implemented Interfaces:
Cursor
,IndexCursor
,Iterable<Identifiable>
,Iterator<Identifiable>
public class LSMTreeIndexCursor extends Object implements IndexCursor
Index cursor doesn't remove the deleted entries.
-
-
Constructor Summary
Constructors Constructor Description LSMTreeIndexCursor(LSMTreeIndexMutable index, boolean ascendingOrder)
LSMTreeIndexCursor(LSMTreeIndexMutable index, boolean ascendingOrder, Object[] fromKeys, boolean beginKeysInclusive, Object[] toKeys, boolean endKeysInclusive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
dumpStats()
BinaryComparator
getComparator()
Object[]
getKeys()
byte[]
getKeyTypes()
Identifiable
getRecord()
int
getScore()
boolean
hasNext()
Iterator<Identifiable>
iterator()
RID
next()
long
size()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
LSMTreeIndexCursor
public LSMTreeIndexCursor(LSMTreeIndexMutable index, boolean ascendingOrder) throws IOException
- Throws:
IOException
-
LSMTreeIndexCursor
public LSMTreeIndexCursor(LSMTreeIndexMutable index, boolean ascendingOrder, Object[] fromKeys, boolean beginKeysInclusive, Object[] toKeys, boolean endKeysInclusive) throws IOException
- Throws:
IOException
-
-
Method Detail
-
dumpStats
public String dumpStats()
- Specified by:
dumpStats
in interfaceIndexCursor
-
getComparator
public BinaryComparator getComparator()
- Specified by:
getComparator
in interfaceIndexCursor
-
getKeyTypes
public byte[] getKeyTypes()
- Specified by:
getKeyTypes
in interfaceIndexCursor
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<Identifiable>
-
next
public RID next()
- Specified by:
next
in interfaceIterator<Identifiable>
-
getKeys
public Object[] getKeys()
- Specified by:
getKeys
in interfaceIndexCursor
-
getRecord
public Identifiable getRecord()
- Specified by:
getRecord
in interfaceIndexCursor
-
getScore
public int getScore()
- Specified by:
getScore
in interfaceIndexCursor
-
close
public void close()
- Specified by:
close
in interfaceIndexCursor
-
iterator
public Iterator<Identifiable> iterator()
- Specified by:
iterator
in interfaceIterable<Identifiable>
-
-