public class BinaryTableGroupScan extends MapRDBGroupScan implements DrillHBaseConstants
Modifier and Type | Field and Description |
---|---|
static String |
TABLE_BINARY |
columns, costFactor, doNotAccessRegionsToScan, endpointFragmentMapping, formatPlugin, formatPluginConfig, storagePlugin
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
COLUMN_FAMILY_TYPE, COLUMN_TYPE, HBASE_ZOOKEEPER_PORT, ROW_KEY, ROW_KEY_PATH, ROW_KEY_TYPE, SYS_STORE_PROVIDER_HBASE_CONFIG, SYS_STORE_PROVIDER_HBASE_TABLE
ALL_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, setRegionsToScan
getRangePartitionFunction, getRestrictedScan, getRowKeyName, getRowKeyPath, isRestrictedScan, supportsRestrictedScan, supportsSecondaryIndex
accept, applyFilter, applyLimit, enforceWidth, getAnalyzeInfoProvider, getColumnValueCount, getDistributionAffinity, getFiles, getFilter, getInitialAllocation, getMaxAllocation, getMinParallelizationWidth, getOperatorType, getPartitionColumns, getScanStats, getScanStats, getSelectionRoot, hasFiles, isDistributed, isExecutable, iterator, supportsFilterPushDown, supportsLimitPushdown, supportsPartitionFilterPushdown, usedMetastore
accept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyFilter, applyLimit, enforceWidth, getAnalyzeInfoProvider, getColumnValueCount, getFiles, getFilter, getMinParallelizationWidth, getPartitionColumns, getScanStats, getScanStats, getSelectionRoot, hasFiles, isDistributed, supportsFilterPushDown, supportsLimitPushdown, supportsPartitionFilterPushdown, usedMetastore
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getOperatorType, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
accept
forEach, iterator, spliterator
getDistributionAffinity
public static final String TABLE_BINARY
public BinaryTableGroupScan(String userName, HBaseScanSpec scanSpec, FileSystemConfig storagePluginConfig, MapRDBFormatPluginConfig formatPluginConfig, List<SchemaPath> columns, TupleMetadata schema, StoragePluginRegistry pluginRegistry) throws ExecutionSetupException
ExecutionSetupException
public 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)
GroupScan
clone
in interface GroupScan
clone
in class AbstractGroupScan
protected MapRDBSubScanSpec getSubScanSpec(TabletFragmentInfo tfi)
getSubScanSpec
in class MapRDBGroupScan
public MapRDBSubScan getSpecificScan(int minorFragmentId)
getSpecificScan
in interface GroupScan
public ScanStats getScanStats()
getScanStats
in class AbstractGroupScan
public PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperator
getNewWithChildren
in interface PhysicalOperator
public org.apache.hadoop.conf.Configuration getHBaseConf()
public String getTableName()
getTableName
in class MapRDBGroupScan
public MapRDBTableStats getTableStats()
public HBaseScanSpec getHBaseScanSpec()
public void setRowCount(org.apache.calcite.rex.RexNode condition, double count, double capRowCount)
DbGroupScan
RexNode
conditionsetRowCount
in interface DbGroupScan
condition
- row expressioncount
- right index row countcapRowCount
- row count limitpublic double getRowCount(org.apache.calcite.rex.RexNode condition, org.apache.calcite.rel.RelNode scanRel)
DbGroupScan
RexNode
conditiongetRowCount
in interface DbGroupScan
condition
- filter to applyscanRel
- the current scan relpublic Statistics getStatistics()
DbGroupScan
DbGroupScan
getStatistics
in interface DbGroupScan
Statistics
for this Scanpublic boolean isIndexScan()
isIndexScan
in interface DbGroupScan
Copyright © 1970 The Apache Software Foundation. All rights reserved.