private static class TestCoprocessorInterface.CustomScanner extends Object implements org.apache.hadoop.hbase.regionserver.RegionScanner
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.regionserver.RegionScanner |
delegate |
Constructor and Description |
---|
CustomScanner(org.apache.hadoop.hbase.regionserver.RegionScanner delegate) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getBatch() |
long |
getMaxResultSize() |
long |
getMvccReadPoint() |
org.apache.hadoop.hbase.client.RegionInfo |
getRegionInfo() |
boolean |
isFilterDone() |
boolean |
next(List<org.apache.hadoop.hbase.Cell> results) |
boolean |
next(List<org.apache.hadoop.hbase.Cell> result,
org.apache.hadoop.hbase.regionserver.ScannerContext scannerContext) |
boolean |
nextRaw(List<org.apache.hadoop.hbase.Cell> result) |
boolean |
nextRaw(List<org.apache.hadoop.hbase.Cell> result,
org.apache.hadoop.hbase.regionserver.ScannerContext context) |
boolean |
reseek(byte[] row) |
private org.apache.hadoop.hbase.regionserver.RegionScanner delegate
public CustomScanner(org.apache.hadoop.hbase.regionserver.RegionScanner delegate)
public boolean next(List<org.apache.hadoop.hbase.Cell> results) throws IOException
next
in interface org.apache.hadoop.hbase.regionserver.InternalScanner
IOException
public boolean next(List<org.apache.hadoop.hbase.Cell> result, org.apache.hadoop.hbase.regionserver.ScannerContext scannerContext) throws IOException
next
in interface org.apache.hadoop.hbase.regionserver.InternalScanner
IOException
public boolean nextRaw(List<org.apache.hadoop.hbase.Cell> result) throws IOException
nextRaw
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
IOException
public boolean nextRaw(List<org.apache.hadoop.hbase.Cell> result, org.apache.hadoop.hbase.regionserver.ScannerContext context) throws IOException
nextRaw
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.hadoop.hbase.regionserver.InternalScanner
IOException
public org.apache.hadoop.hbase.client.RegionInfo getRegionInfo()
getRegionInfo
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
public boolean isFilterDone() throws IOException
isFilterDone
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
IOException
public boolean reseek(byte[] row) throws IOException
reseek
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
IOException
public long getMaxResultSize()
getMaxResultSize
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
public long getMvccReadPoint()
getMvccReadPoint
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
public int getBatch()
getBatch
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.