@InterfaceAudience.Private public class CollectionBackedScanner extends NonReversedNonLazyKeyValueScanner
| Modifier and Type | Field and Description | 
|---|---|
(package private) CellComparator | 
comparator  | 
private Cell | 
current  | 
private Iterable<Cell> | 
data  | 
private Iterator<Cell> | 
iter  | 
NO_NEXT_INDEXED_KEY| Constructor and Description | 
|---|
CollectionBackedScanner(CellComparator comparator,
                       Cell... array)  | 
CollectionBackedScanner(List<Cell> list)  | 
CollectionBackedScanner(List<Cell> list,
                       CellComparator comparator)  | 
CollectionBackedScanner(SortedSet<Cell> set)  | 
CollectionBackedScanner(SortedSet<Cell> set,
                       CellComparator comparator)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Close the KeyValue scanner. 
 | 
private void | 
init()  | 
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, getFilePath, getNextIndexedKey, isFileScanner, realSeekDone, requestSeek, shipped, shouldUseScannerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetScannerOrderfinal CellComparator comparator
public CollectionBackedScanner(SortedSet<Cell> set)
public CollectionBackedScanner(SortedSet<Cell> set, CellComparator comparator)
public CollectionBackedScanner(List<Cell> list)
public CollectionBackedScanner(List<Cell> list, CellComparator comparator)
public CollectionBackedScanner(CellComparator comparator, Cell... array)
private void init()
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 void close()
KeyValueScannerCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.