@InterfaceAudience.Private public interface ReversibleCellScanner extends CellScanner
Note: This was not added to suggest that HBase should support client facing reverse Scanners,
but
because some CellSearcher
implementations, namely PrefixTree, need a method of backing
up if the positionAt(..) method goes past the requested cell.
Modifier and Type | Method and Description |
---|---|
boolean |
previous()
Try to position the scanner one Cell before the current position.
|
boolean |
previousRow(boolean endOfRow)
Try to position the scanner in the row before the current row.
|
advance, current
boolean previous()
CellScannerPosition.BEFORE_FIRST
boolean previousRow(boolean endOfRow)
endOfRow
- true for the last cell in the previous row; false for the first cellCellScannerPosition.BEFORE_FIRST
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.