public class RestrictedMapRDBSubScanSpec extends MapRDBSubScanSpec
indexDesc, regionServer, serializedFilter, startRow, stopRow, tableName, userName| Constructor and Description |
|---|
RestrictedMapRDBSubScanSpec(String tableName,
String regionServer,
byte[] serializedFilter,
String userName) |
| Modifier and Type | Method and Description |
|---|---|
RowKeyJoin |
getJoinForSubScan() |
int |
getMaxRowKeysToBeRead() |
ByteBuffer[] |
getRowKeyIdsToRead(int numRowKeysToRead)
Returns ids of rowKeys to be read.
|
boolean |
hasRowKey()
Returns
true if the iteration has more row keys. |
int |
hasRowKeys(int numRowKeysToRead)
Returns number of rowKeys that can be read.
|
boolean |
isBuildSchemaPhase()
Return
true if the row key join is in the build schema phase |
boolean |
readyToGetRowKey()
Return
true if a valid rowkey batch is available, false otherwise |
void |
setJoinForSubScan(RowKeyJoin rjbatch) |
void |
updateRowKeysRead(int numKeys)
updates the index to reflect number of keys read.
|
compareTo, getIndexDesc, getRegionServer, getSerializedFilter, getStartRow, getStopRow, getTableName, getUserName, setRegionServer, setSerializedFilter, setStartRow, setStopRow, setTableName, setUserName, toStringpublic void setJoinForSubScan(RowKeyJoin rjbatch)
public RowKeyJoin getJoinForSubScan()
public boolean readyToGetRowKey()
true if a valid rowkey batch is available, false otherwisepublic boolean isBuildSchemaPhase()
true if the row key join is in the build schema phasepublic boolean hasRowKey()
true if the iteration has more row keys.
(In other words, returns true if #nextRowKey would
return a non-null row key)true if the iteration has more row keyspublic int getMaxRowKeysToBeRead()
public int hasRowKeys(int numRowKeysToRead)
public ByteBuffer[] getRowKeyIdsToRead(int numRowKeysToRead)
public void updateRowKeysRead(int numKeys)
Copyright © 2021 The Apache Software Foundation. All rights reserved.