Class DelegatingInternalScanner
java.lang.Object
org.apache.hadoop.hbase.coprocessor.example.DelegatingInternalScanner
- All Implemented Interfaces:
Closeable,AutoCloseable,InternalScanner
A simple delegation for doing filtering on
InternalScanner.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the scanner and releases any resources it has allocatedbooleannext(List<Cell> result, ScannerContext scannerContext) Grab the next row's worth of values.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.regionserver.InternalScanner
next
-
Field Details
-
scanner
-
-
Constructor Details
-
DelegatingInternalScanner
-
-
Method Details
-
next
Description copied from interface:InternalScannerGrab the next row's worth of values.- Specified by:
nextin interfaceInternalScanner- Parameters:
result- return output array- Returns:
- true if more rows exist after this one, false if scanner is done
- Throws:
IOException- e
-
close
Description copied from interface:InternalScannerCloses the scanner and releases any resources it has allocated- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceInternalScanner- Throws:
IOException
-