public interface LowLevelIterator
FSIterator| Modifier and Type | Method and Description |
|---|---|
Object |
copy()
Create a copy of this iterator.
|
boolean |
isValid()
Check if the iterator is currently valid.
|
int |
ll_get()
Return the current FS reference.
|
LowLevelIndex |
ll_getIndex()
Get the index for just the top most type of this iterator (excludes subtypes).
|
int |
ll_indexSize()
Return the size of the underlying index.
|
void |
moveTo(int fsRef)
Try to position the iterator so that the current element is greater than or equal to
fsRef, and previous elements are less than fsRef. |
void |
moveToFirst()
Move iterator to first FS in index.
|
void |
moveToLast()
Move iterator to last FS in index.
|
void |
moveToNext()
Advance the iterator.
|
void |
moveToPrevious()
Move the iterator back one position.
|
void moveToFirst()
isValid() will succeed
iff the index is non-empty.void moveToLast()
isValid() will succeed
iff the index is non-empty.boolean isValid()
true iff the iterator is valid.int ll_get()
throws NoSuchElementException
NoSuchElementException - Iff the iterator is not valid.void moveToNext()
void moveToPrevious()
void moveTo(int fsRef)
fsRef, and previous elements are less than fsRef. This may
invalidate the iterator. If fsRef can not be compared to FSs in the index, the results are
undefined.fsRef - The FS reference the iterator should be set to.Object copy()
int ll_indexSize()
LowLevelIndex ll_getIndex()
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.