private static class TestScannerHeartbeatMessages.HeartbeatReversedRegionScanner 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 |
---|
HeartbeatReversedRegionScanner(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() |
org.apache.hadoop.hbase.client.RegionInfo |
getRegionInfo() |
(package private) org.apache.hadoop.hbase.regionserver.KeyValueHeap |
getStoreHeapForTesting() |
protected void |
incrementCountOfRowsFilteredMetric(org.apache.hadoop.hbase.regionserver.ScannerContext arg0) |
protected void |
incrementCountOfRowsScannedMetric(org.apache.hadoop.hbase.regionserver.ScannerContext arg0) |
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) |
protected void |
initializeScanners(org.apache.hadoop.hbase.client.Scan arg0,
List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> arg1) |
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
HeartbeatReversedRegionScanner(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
protected boolean shouldStop(org.apache.hadoop.hbase.Cell arg0)
protected boolean nextRow(org.apache.hadoop.hbase.regionserver.ScannerContext arg0, org.apache.hadoop.hbase.Cell arg1) throws IOException
IOException
public org.apache.hadoop.hbase.client.RegionInfo getRegionInfo()
getRegionInfo
in interface org.apache.hadoop.hbase.regionserver.RegionScanner
protected void initializeScanners(org.apache.hadoop.hbase.client.Scan arg0, List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> arg1) throws IOException
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
protected 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 void incrementCountOfRowsFilteredMetric(org.apache.hadoop.hbase.regionserver.ScannerContext arg0)
protected void incrementCountOfRowsScannedMetric(org.apache.hadoop.hbase.regionserver.ScannerContext arg0)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.hadoop.hbase.regionserver.InternalScanner
org.apache.hadoop.hbase.regionserver.KeyValueHeap getStoreHeapForTesting()
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.