private static class TestScannerHeartbeatMessages.HeartbeatRegionScanner extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.hbase.CellComparator |
comparator |
protected boolean |
includeStopRow |
protected org.apache.hadoop.hbase.Cell |
joinedContinuationRow |
(package private) org.apache.hadoop.hbase.regionserver.KeyValueHeap |
joinedHeap |
protected org.apache.hadoop.hbase.regionserver.HRegion |
region |
protected byte[] |
stopRow |
(package private) org.apache.hadoop.hbase.regionserver.KeyValueHeap |
storeHeap |
Constructor and Description |
---|
HeartbeatRegionScanner(org.apache.hadoop.hbase.client.Scan scan,
List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> additionalScanners,
org.apache.hadoop.hbase.regionserver.HRegion region) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getBatch() |
long |
getMaxResultSize() |
long |
getMvccReadPoint() |
String |
getOperationId() |
org.apache.hadoop.hbase.client.RegionInfo |
getRegionInfo() |
protected void |
initializeKVHeap(List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> scanners,
List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> joinedScanners,
org.apache.hadoop.hbase.regionserver.HRegion region) |
boolean |
isFilterDone() |
boolean |
next(List<org.apache.hadoop.hbase.Cell> arg0) |
boolean |
next(List<org.apache.hadoop.hbase.Cell> arg0,
org.apache.hadoop.hbase.regionserver.ScannerContext arg1) |
boolean |
nextRaw(List<org.apache.hadoop.hbase.Cell> arg0) |
boolean |
nextRaw(List<org.apache.hadoop.hbase.Cell> outResults,
org.apache.hadoop.hbase.regionserver.ScannerContext context) |
protected boolean |
nextRow(org.apache.hadoop.hbase.regionserver.ScannerContext arg0,
org.apache.hadoop.hbase.Cell arg1) |
boolean |
reseek(byte[] arg0) |
protected void |
resetFilters() |
void |
run() |
void |
shipped() |
protected boolean |
shouldStop(org.apache.hadoop.hbase.Cell arg0) |
org.apache.hadoop.hbase.regionserver.KeyValueHeap storeHeap
org.apache.hadoop.hbase.regionserver.KeyValueHeap joinedHeap
protected org.apache.hadoop.hbase.Cell joinedContinuationRow
protected final byte[] stopRow
protected final boolean includeStopRow
protected final org.apache.hadoop.hbase.regionserver.HRegion region
protected final org.apache.hadoop.hbase.CellComparator comparator
HeartbeatRegionScanner(org.apache.hadoop.hbase.client.Scan scan, List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> additionalScanners, org.apache.hadoop.hbase.regionserver.HRegion region) throws IOException
IOException
public boolean nextRaw(List<org.apache.hadoop.hbase.Cell> outResults, org.apache.hadoop.hbase.regionserver.ScannerContext context) throws IOException
nextRaw
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
IOException
protected void initializeKVHeap(List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> scanners, List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> joinedScanners, org.apache.hadoop.hbase.regionserver.HRegion region) throws IOException
IOException
public org.apache.hadoop.hbase.client.RegionInfo getRegionInfo()
getRegionInfo
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
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
public String getOperationId()
getOperationId
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
protected final void resetFilters() throws IOException
IOException
public boolean next(List<org.apache.hadoop.hbase.Cell> arg0) throws IOException
next
in interface org.apache.hadoop.hbase.regionserver.InternalScanner
IOException
public boolean next(List<org.apache.hadoop.hbase.Cell> arg0, org.apache.hadoop.hbase.regionserver.ScannerContext arg1) throws IOException
next
in interface org.apache.hadoop.hbase.regionserver.InternalScanner
IOException
public boolean nextRaw(List<org.apache.hadoop.hbase.Cell> arg0) throws IOException
nextRaw
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
IOException
public boolean isFilterDone() throws IOException
isFilterDone
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
IOException
protected boolean nextRow(org.apache.hadoop.hbase.regionserver.ScannerContext arg0, org.apache.hadoop.hbase.Cell arg1) throws IOException
IOException
protected boolean shouldStop(org.apache.hadoop.hbase.Cell arg0)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.hadoop.hbase.regionserver.InternalScanner
public boolean reseek(byte[] arg0) throws IOException
reseek
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
IOException
public void shipped() throws IOException
shipped
in interface org.apache.hadoop.hbase.regionserver.Shipper
IOException
public void run() throws IOException
run
in interface org.apache.hadoop.hbase.ipc.RpcCallback
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.