public class BinaryTableGroupScan extends MapRDBGroupScan implements DrillHBaseConstants
| Modifier and Type | Field and Description |
|---|---|
static String |
TABLE_BINARY |
columns, costFactor, doNotAccessRegionsToScan, endpointFragmentMapping, formatPlugin, formatPluginConfig, storagePluginINIT_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 |
|---|
BinaryTableGroupScan(String userName,
AbstractStoragePlugin storagePlugin,
MapRDBFormatPlugin formatPlugin,
HBaseScanSpec scanSpec,
List<SchemaPath> columns,
MapRDBTableStats tableStats,
TableMetadataProvider metadataProvider) |
BinaryTableGroupScan(String userName,
AbstractStoragePlugin storagePlugin,
MapRDBFormatPlugin formatPlugin,
HBaseScanSpec scanSpec,
List<SchemaPath> columns,
MetadataProviderManager metadataProviderManager) |
BinaryTableGroupScan(String userName,
HBaseScanSpec scanSpec,
FileSystemConfig storagePluginConfig,
MapRDBFormatPluginConfig formatPluginConfig,
List<SchemaPath> columns,
TupleMetadata schema,
StoragePluginRegistry pluginRegistry) |
| Modifier and Type | Method and Description |
|---|---|
GroupScan |
clone(List<SchemaPath> columns)
Returns a clone of GroupScan instance, except that the new GroupScan will use the provided list of columns .
|
org.apache.hadoop.conf.Configuration |
getHBaseConf() |
HBaseScanSpec |
getHBaseScanSpec() |
PhysicalOperator |
getNewWithChildren(List<PhysicalOperator> children)
Regenerate with this node with a new set of children.
|
double |
getRowCount(org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.RelNode scanRel)
Get the row count after applying the
RexNode condition |
ScanStats |
getScanStats() |
MapRDBSubScan |
getSpecificScan(int minorFragmentId) |
Statistics |
getStatistics()
Get the statistics for this
DbGroupScan |
protected MapRDBSubScanSpec |
getSubScanSpec(TabletFragmentInfo tfi) |
String |
getTableName() |
MapRDBTableStats |
getTableStats() |
boolean |
isIndexScan() |
void |
setRowCount(org.apache.calcite.rex.RexNode condition,
double count,
double capRowCount)
Set the artificial row count after applying the
RexNode condition |
String |
toString() |
applyAssignments, canPushdownProjects, getColumns, getDigest, getFormatPlugin, getIndexHint, getMaxParallelizationWidth, getMetadataProvider, getOperatorAffinity, getPluginCostModel, getRegionsToScan, getRowKeyOrdinal, getSchema, getSecondaryIndexCollection, getStorageConfig, getStoragePlugin, getTableMetadata, isFilterPushedDown, resetRegionsToScan, setCostFactor, setFilterPushedDown, setRegionsToScangetRangePartitionFunction, getRestrictedScan, getRowKeyName, getRowKeyPath, isRestrictedScan, supportsRestrictedScan, supportsSecondaryIndexaccept, applyFilter, applyLimit, enforceWidth, getAnalyzeInfoProvider, getColumnValueCount, getDistributionAffinity, getFiles, getFilter, getInitialAllocation, getMaxAllocation, getMinParallelizationWidth, getOperatorType, getPartitionColumns, getScanStats, getSelectionRoot, hasFiles, isDistributed, isExecutable, iterator, supportsFilterPushDown, supportsLimitPushdown, supportsPartitionFilterPushdown, usedMetastoreaccept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyFilter, applyLimit, enforceWidth, getAnalyzeInfoProvider, getColumnValueCount, getFiles, getFilter, getMinParallelizationWidth, getPartitionColumns, getScanStats, getSelectionRoot, hasFiles, isDistributed, supportsFilterPushDown, supportsLimitPushdown, supportsPartitionFilterPushdown, usedMetastoreaccept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getOperatorType, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdacceptforEach, iterator, spliteratorgetDistributionAffinitypublic static final String TABLE_BINARY
public BinaryTableGroupScan(String userName, HBaseScanSpec scanSpec, FileSystemConfig storagePluginConfig, MapRDBFormatPluginConfig formatPluginConfig, List<SchemaPath> columns, TupleMetadata schema, StoragePluginRegistry pluginRegistry) throws ExecutionSetupException
ExecutionSetupExceptionpublic BinaryTableGroupScan(String userName, AbstractStoragePlugin storagePlugin, MapRDBFormatPlugin formatPlugin, HBaseScanSpec scanSpec, List<SchemaPath> columns, MetadataProviderManager metadataProviderManager)
public BinaryTableGroupScan(String userName, AbstractStoragePlugin storagePlugin, MapRDBFormatPlugin formatPlugin, HBaseScanSpec scanSpec, List<SchemaPath> columns, MapRDBTableStats tableStats, TableMetadataProvider metadataProvider)
public GroupScan clone(List<SchemaPath> columns)
GroupScanclone in interface GroupScanclone in class AbstractGroupScanprotected MapRDBSubScanSpec getSubScanSpec(TabletFragmentInfo tfi)
getSubScanSpec in class MapRDBGroupScanpublic MapRDBSubScan getSpecificScan(int minorFragmentId)
getSpecificScan in interface GroupScanpublic ScanStats getScanStats()
getScanStats in class AbstractGroupScanpublic PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperatorgetNewWithChildren in interface PhysicalOperatorpublic org.apache.hadoop.conf.Configuration getHBaseConf()
public String getTableName()
getTableName in class MapRDBGroupScanpublic MapRDBTableStats getTableStats()
public HBaseScanSpec getHBaseScanSpec()
public void setRowCount(org.apache.calcite.rex.RexNode condition,
double count,
double capRowCount)
DbGroupScanRexNode conditionsetRowCount in interface DbGroupScancondition - row expressioncount - right index row countcapRowCount - row count limitpublic double getRowCount(org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.RelNode scanRel)
DbGroupScanRexNode conditiongetRowCount in interface DbGroupScanpublic Statistics getStatistics()
DbGroupScanDbGroupScangetStatistics in interface DbGroupScanStatistics for this Scanpublic boolean isIndexScan()
isIndexScan in interface DbGroupScanCopyright © 2021 The Apache Software Foundation. All rights reserved.