public class HiveScan extends AbstractGroupScan
| Modifier and Type | Field and Description |
|---|---|
protected List<SchemaPath> |
columns |
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocationALL_COLUMNS| Constructor and Description |
|---|
HiveScan(HiveScan that) |
HiveScan(String userName,
HiveReadEntry hiveReadEntry,
HiveStoragePluginConfig hiveStoragePluginConfig,
List<SchemaPath> columns,
Map<String,String> confProperties,
StoragePluginRegistry pluginRegistry) |
HiveScan(String userName,
HiveReadEntry hiveReadEntry,
HiveStoragePlugin hiveStoragePlugin,
List<SchemaPath> columns,
HiveMetadataProvider metadataProvider,
Map<String,String> confProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyAssignments(List<CoordinationProtos.DrillbitEndpoint> endpoints) |
boolean |
canPushdownProjects(List<SchemaPath> columns)
GroupScan should check the list of columns, and see if it could support all the columns in the list.
|
HiveScan |
clone(HiveReadEntry hiveReadEntry) |
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
|
Map<String,String> |
getConfProperties() |
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.hive.conf.HiveConf |
getHiveConf() |
HiveReadEntry |
getHiveReadEntry() |
HiveStoragePluginConfig |
getHiveStoragePluginConfig() |
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() |
SubScan |
getSpecificScan(int minorFragmentId) |
HiveStoragePlugin |
getStoragePlugin() |
boolean |
isNativeReader() |
boolean |
supportsPartitionFilterPushdown()
Whether or not this GroupScan supports pushdown of partition filters (directories for filesystems)
|
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, 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, spliteratorprotected List<SchemaPath> columns
public HiveScan(String userName, HiveReadEntry hiveReadEntry, HiveStoragePluginConfig hiveStoragePluginConfig, List<SchemaPath> columns, Map<String,String> confProperties, StoragePluginRegistry pluginRegistry) throws ExecutionSetupException
ExecutionSetupExceptionpublic HiveScan(String userName, HiveReadEntry hiveReadEntry, HiveStoragePlugin hiveStoragePlugin, List<SchemaPath> columns, HiveMetadataProvider metadataProvider, Map<String,String> confProperties) throws ExecutionSetupException
ExecutionSetupExceptionpublic HiveScan(HiveScan that)
public HiveScan clone(HiveReadEntry hiveReadEntry) throws ExecutionSetupException
ExecutionSetupExceptionpublic HiveReadEntry getHiveReadEntry()
public HiveStoragePluginConfig getHiveStoragePluginConfig()
public List<SchemaPath> getColumns()
GroupScangetColumns in interface GroupScangetColumns in class AbstractGroupScanpublic HiveStoragePlugin getStoragePlugin()
public org.apache.hadoop.hive.conf.HiveConf getHiveConf()
public boolean isNativeReader()
public boolean supportsPartitionFilterPushdown()
GroupScansupportsPartitionFilterPushdown in interface GroupScansupportsPartitionFilterPushdown in class AbstractGroupScanpublic void applyAssignments(List<CoordinationProtos.DrillbitEndpoint> endpoints)
public SubScan getSpecificScan(int minorFragmentId) throws ExecutionSetupException
ExecutionSetupExceptionpublic int getMaxParallelizationWidth()
public List<EndpointAffinity> getOperatorAffinity()
HasAffinitygetOperatorAffinity in interface HasAffinitygetOperatorAffinity in class AbstractGroupScanpublic ScanStats getScanStats()
getScanStats in class AbstractGroupScanpublic PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperatorpublic String getDigest()
GroupScanGroupScan which should usually be composed of
all its attributes which could describe it uniquely.public GroupScan clone(List<SchemaPath> columns)
GroupScanclone in interface GroupScanclone in class AbstractGroupScanpublic boolean canPushdownProjects(List<SchemaPath> columns)
GroupScancanPushdownProjects in interface GroupScancanPushdownProjects in class AbstractGroupScanCopyright © 2021 The Apache Software Foundation. All rights reserved.