Class HBaseScanSpec
java.lang.Object
org.apache.drill.exec.store.hbase.HBaseScanSpec
- All Implemented Interfaces:
DrillTableSelection
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHBaseScanSpec
(String tableName) HBaseScanSpec
(String tableName, byte[] startRow, byte[] stopRow, byte[] serializedFilter, String filterString) HBaseScanSpec
(String tableName, byte[] startRow, byte[] stopRow, org.apache.hadoop.hbase.filter.Filter filter) -
Method Summary
-
Field Details
-
tableName
-
startRow
protected byte[] startRow -
stopRow
protected byte[] stopRow -
filter
protected org.apache.hadoop.hbase.filter.Filter filter
-
-
Constructor Details
-
HBaseScanSpec
-
HBaseScanSpec
public HBaseScanSpec(String tableName, byte[] startRow, byte[] stopRow, org.apache.hadoop.hbase.filter.Filter filter) -
HBaseScanSpec
-
-
Method Details
-
getTableName
-
getStartRow
public byte[] getStartRow() -
getStopRow
public byte[] getStopRow() -
getFilter
public org.apache.hadoop.hbase.filter.Filter getFilter() -
getSerializedFilter
public byte[] getSerializedFilter() -
toString
-
digest
Description copied from interface:DrillTableSelection
The digest of the selection represented by the implementation. The selections that accompany Tables can modify the contained dataset, e.g. a file selection can restrict to a subset of the available data and a format selection can include options that affect the behaviour of the underlying reader. Two scans will end up being considered identical during logical planning if their digests are the same so selection implementations should override this method so that exactly those scans that really are identical (in terms of the data they produce) have matching digests.- Specified by:
digest
in interfaceDrillTableSelection
- Returns:
- this selection's digest, normally a string built from its properties.
-