public class HBaseGroupScan extends AbstractGroupScan implements DrillHBaseConstants
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocationCOLUMN_FAMILY_TYPE, COLUMN_TYPE, HBASE_ZOOKEEPER_PORT, ROW_KEY, ROW_KEY_PATH, ROW_KEY_TYPE, SYS_STORE_PROVIDER_HBASE_CONFIG, SYS_STORE_PROVIDER_HBASE_TABLEALL_COLUMNS| Constructor and Description |
|---|
HBaseGroupScan()
Empty constructor, do not use, only for testing.
|
HBaseGroupScan(String userName,
HBaseScanSpec hbaseScanSpec,
HBaseStoragePluginConfig storagePluginConfig,
List<SchemaPath> columns,
StoragePluginRegistry pluginRegistry) |
HBaseGroupScan(String userName,
HBaseStoragePlugin storagePlugin,
HBaseScanSpec scanSpec,
List<SchemaPath> columns) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyAssignments(List<CoordinationProtos.DrillbitEndpoint> incomingEndpoints) |
boolean |
canPushdownProjects(List<SchemaPath> columns)
GroupScan should check the list of columns, and see if it could support all the columns in the list.
|
GroupScan |
clone(List<SchemaPath> columns)
Returns a clone of GroupScan instance, except that the new GroupScan will use the provided list of columns .
|
List<SchemaPath> |
getColumns()
Returns a list of columns scanned by this group scan
|
String |
getDigest()
Returns a signature of the
GroupScan which should usually be composed of
all its attributes which could describe it uniquely. |
org.apache.hadoop.conf.Configuration |
getHBaseConf() |
HBaseScanSpec |
getHBaseScanSpec() |
int |
getMaxParallelizationWidth() |
PhysicalOperator |
getNewWithChildren(List<PhysicalOperator> children)
Regenerate with this node with a new set of children.
|
List<EndpointAffinity> |
getOperatorAffinity()
Get the list of Endpoints with associated affinities that this operator has preference for.
|
ScanStats |
getScanStats() |
HBaseSubScan |
getSpecificScan(int minorFragmentId) |
HBaseStoragePluginConfig |
getStorageConfig() |
HBaseStoragePlugin |
getStoragePlugin() |
String |
getTableName() |
boolean |
isFilterPushedDown() |
void |
setFilterPushedDown(boolean b) |
void |
setHBaseScanSpec(HBaseScanSpec hbaseScanSpec)
Do not use, only for testing.
|
void |
setRegionsToScan(NavigableMap<org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.ServerName> regionsToScan)
Do not use, only for testing.
|
String |
toString() |
accept, applyFilter, applyLimit, enforceWidth, getAnalyzeInfoProvider, getColumnValueCount, getDistributionAffinity, getFiles, getFilter, getInitialAllocation, getMaxAllocation, getMetadataProvider, getMinParallelizationWidth, getOperatorType, getPartitionColumns, getScanStats, getSelectionRoot, getTableMetadata, hasFiles, isDistributed, isExecutable, iterator, supportsFilterPushDown, supportsLimitPushdown, supportsPartitionFilterPushdown, usedMetastoreaccept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorIdacceptforEach, spliteratorpublic HBaseGroupScan(String userName, HBaseScanSpec hbaseScanSpec, HBaseStoragePluginConfig storagePluginConfig, List<SchemaPath> columns, StoragePluginRegistry pluginRegistry) throws IOException, ExecutionSetupException
IOExceptionExecutionSetupExceptionpublic HBaseGroupScan(String userName, HBaseStoragePlugin storagePlugin, HBaseScanSpec scanSpec, List<SchemaPath> columns)
public HBaseGroupScan()
public GroupScan clone(List<SchemaPath> columns)
GroupScanclone in interface GroupScanclone in class AbstractGroupScanpublic List<EndpointAffinity> getOperatorAffinity()
HasAffinitygetOperatorAffinity in interface HasAffinitygetOperatorAffinity in class AbstractGroupScanpublic void applyAssignments(List<CoordinationProtos.DrillbitEndpoint> incomingEndpoints)
applyAssignments in interface GroupScanpublic HBaseSubScan getSpecificScan(int minorFragmentId)
getSpecificScan in interface GroupScanpublic int getMaxParallelizationWidth()
getMaxParallelizationWidth in interface GroupScanpublic ScanStats getScanStats()
getScanStats in class AbstractGroupScanpublic PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperatorgetNewWithChildren in interface PhysicalOperatorpublic HBaseStoragePlugin getStoragePlugin()
public org.apache.hadoop.conf.Configuration getHBaseConf()
public String getTableName()
public String getDigest()
GroupScanGroupScan which should usually be composed of
all its attributes which could describe it uniquely.public HBaseStoragePluginConfig getStorageConfig()
public List<SchemaPath> getColumns()
GroupScangetColumns in interface GroupScangetColumns in class AbstractGroupScanpublic HBaseScanSpec getHBaseScanSpec()
public boolean canPushdownProjects(List<SchemaPath> columns)
GroupScancanPushdownProjects in interface GroupScancanPushdownProjects in class AbstractGroupScanpublic void setFilterPushedDown(boolean b)
public boolean isFilterPushedDown()
public void setHBaseScanSpec(HBaseScanSpec hbaseScanSpec)
public void setRegionsToScan(NavigableMap<org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.ServerName> regionsToScan)
Copyright © 2021 The Apache Software Foundation. All rights reserved.