public class IndexSearchResultIteratorImpl extends Object implements IndexSearchResultIteratorCollection
| Constructor and Description |
|---|
IndexSearchResultIteratorImpl(List<Key> keys,
KeyNameMapper keyNameMapper) |
| Modifier and Type | Method and Description |
|---|---|
KeyNameMapper |
getKeyNameMapper()
Maps from field names to key indexes
|
List<Key> |
getKeys()
Gets a list of keys contained in the iterator
|
boolean |
hasNext() |
boolean |
isEmpty()
If the result is empty
|
Iterator<Key> |
iterator() |
Key |
next() |
void |
remove() |
void |
reset()
Resets the index result iterator
|
int |
size()
The amount of results found in the index
|
List<Key> |
subset(int start,
int limit)
Gets a subset of the collection of keys in the iterator
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorforEachRemainingpublic IndexSearchResultIteratorImpl(List<Key> keys, KeyNameMapper keyNameMapper)
public List<Key> subset(int start, int limit)
IndexSearchResultIteratorCollectionsubset in interface IndexSearchResultIteratorCollectionstart - THe start of the subsetlimit - The maximum amount to put in the subsetpublic List<Key> getKeys()
IndexSearchResultIteratorCollectiongetKeys in interface IndexSearchResultIteratorCollectionpublic KeyNameMapper getKeyNameMapper()
IndexSearchResultIteratorgetKeyNameMapper in interface IndexSearchResultIteratorpublic int size()
IndexSearchResultIteratorsize in interface IndexSearchResultIteratorpublic boolean isEmpty()
IndexSearchResultIteratorisEmpty in interface IndexSearchResultIteratorpublic void reset()
IndexSearchResultIteratorreset in interface IndexSearchResultIteratorCopyright © 2015. All rights reserved.