@InterfaceAudience.Private public class SnapshotSegmentScanner extends NonReversedNonLazyKeyValueScanner
CollectionBackedScanner
(but making it know about Segments was onerous).NO_NEXT_INDEXED_KEY| Constructor and Description |
|---|
SnapshotSegmentScanner(ImmutableSegment segment) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the KeyValue scanner.
|
long |
getScannerOrder()
Get the order of this KeyValueScanner.
|
org.apache.hadoop.hbase.Cell |
next()
Return the next Cell in this scanner, iterating the scanner
|
org.apache.hadoop.hbase.Cell |
peek()
Look at the next Cell in this scanner, but do not iterate scanner.
|
boolean |
reseek(org.apache.hadoop.hbase.Cell seekCell)
Reseek the scanner at or after the specified KeyValue.
|
boolean |
seek(org.apache.hadoop.hbase.Cell seekCell)
Seek the scanner at or after the specified KeyValue.
|
backwardSeek, seekToLastRow, seekToPreviousRowdoRealSeek, enforceSeek, getFilePath, getNextIndexedKey, isFileScanner, realSeekDone, requestSeek, shipped, shouldUseScannerpublic SnapshotSegmentScanner(ImmutableSegment segment)
public org.apache.hadoop.hbase.Cell peek()
KeyValueScannerpublic org.apache.hadoop.hbase.Cell next()
KeyValueScannerpublic boolean seek(org.apache.hadoop.hbase.Cell seekCell)
KeyValueScannerseekCell - seek valuepublic boolean reseek(org.apache.hadoop.hbase.Cell seekCell)
KeyValueScannerseekCell - seek value (should be non-null)public long getScannerOrder()
KeyValueScannerKeyValueScanner.getScannerOrder()public void close()
KeyValueScannerCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.