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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes the scanner and releases any resources it has allocatedboolean
next
(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, wait
Methods inherited from interface org.apache.hadoop.hbase.regionserver.InternalScanner
next
-
Field Details
-
scanner
-
-
Constructor Details
-
DelegatingInternalScanner
-
-
Method Details
-
next
Description copied from interface:InternalScanner
Grab the next row's worth of values.- Specified by:
next
in 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:InternalScanner
Closes the scanner and releases any resources it has allocated- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceInternalScanner
- Throws:
IOException
-