@InterfaceAudience.Private public class CollectionBackedScanner extends NonReversedNonLazyKeyValueScanner
| Constructor and Description | 
|---|
| CollectionBackedScanner(KeyValue.KVComparator comparator,
                       Cell... array) | 
| CollectionBackedScanner(List<Cell> list) | 
| CollectionBackedScanner(List<Cell> list,
                       KeyValue.KVComparator comparator) | 
| CollectionBackedScanner(SortedSet<Cell> set) | 
| CollectionBackedScanner(SortedSet<Cell> set,
                       KeyValue.KVComparator comparator) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Close the KeyValue scanner. | 
| long | getSequenceID()Get the sequence id associated with this KeyValueScanner. | 
| Cell | next()Return the next Cell in this scanner, iterating the scanner | 
| Cell | peek()Look at the next Cell in this scanner, but do not iterate scanner. | 
| boolean | reseek(Cell seekCell)Reseek the scanner at or after the specified KeyValue. | 
| boolean | seek(Cell seekCell)Seek the scanner at or after the specified KeyValue. | 
backwardSeek, seekToLastRow, seekToPreviousRowdoRealSeek, enforceSeek, getNextIndexedKey, isFileScanner, realSeekDone, requestSeek, shouldUseScannerpublic CollectionBackedScanner(SortedSet<Cell> set, KeyValue.KVComparator comparator)
public CollectionBackedScanner(List<Cell> list, KeyValue.KVComparator comparator)
public CollectionBackedScanner(KeyValue.KVComparator comparator, Cell... array)
public Cell peek()
KeyValueScannerpublic Cell next()
KeyValueScannerpublic boolean seek(Cell seekCell)
KeyValueScannerseekCell - seek valuepublic boolean reseek(Cell seekCell)
KeyValueScannerseekCell - seek value (should be non-null)public long getSequenceID()
KeyValueScannerpublic void close()
KeyValueScannerCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.