public class KafkaGroupScan extends AbstractGroupScan
| Modifier and Type | Class and Description |
|---|---|
static class |
KafkaGroupScan.PartitionScanWork |
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocationALL_COLUMNS| Constructor and Description |
|---|
KafkaGroupScan(KafkaGroupScan that) |
KafkaGroupScan(KafkaStoragePlugin kafkaStoragePlugin,
KafkaScanSpec kafkaScanSpec,
List<SchemaPath> columns) |
KafkaGroupScan(String userName,
KafkaStoragePluginConfig kafkaStoragePluginConfig,
List<SchemaPath> columns,
KafkaScanSpec scanSpec,
StoragePluginRegistry pluginRegistry) |
KafkaGroupScan(String userName,
KafkaStoragePlugin kafkaStoragePlugin,
List<SchemaPath> columns,
KafkaScanSpec kafkaScanSpec) |
| 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 .
|
GroupScan |
cloneWithNewSpec(List<KafkaPartitionScanSpec> partitionScanSpecList) |
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. |
KafkaScanSpec |
getKafkaScanSpec() |
KafkaStoragePluginConfig |
getKafkaStoragePluginConfig() |
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.
|
List<KafkaPartitionScanSpec> |
getPartitionScanSpecList() |
ScanStats |
getScanStats() |
KafkaSubScan |
getSpecificScan(int minorFragmentId) |
KafkaStoragePlugin |
getStoragePlugin() |
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 KafkaGroupScan(String userName, KafkaStoragePluginConfig kafkaStoragePluginConfig, List<SchemaPath> columns, KafkaScanSpec scanSpec, StoragePluginRegistry pluginRegistry) throws ExecutionSetupException
ExecutionSetupExceptionpublic KafkaGroupScan(KafkaStoragePlugin kafkaStoragePlugin, KafkaScanSpec kafkaScanSpec, List<SchemaPath> columns)
public KafkaGroupScan(String userName, KafkaStoragePlugin kafkaStoragePlugin, List<SchemaPath> columns, KafkaScanSpec kafkaScanSpec)
public KafkaGroupScan(KafkaGroupScan that)
public void applyAssignments(List<CoordinationProtos.DrillbitEndpoint> incomingEndpoints)
public KafkaSubScan getSpecificScan(int minorFragmentId)
public int getMaxParallelizationWidth()
public ScanStats getScanStats()
getScanStats in class AbstractGroupScanpublic String getDigest()
GroupScanGroupScan which should usually be composed of
all its attributes which could describe it uniquely.public PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperatorpublic List<EndpointAffinity> getOperatorAffinity()
HasAffinitygetOperatorAffinity in interface HasAffinitygetOperatorAffinity in class AbstractGroupScanpublic boolean canPushdownProjects(List<SchemaPath> columns)
GroupScancanPushdownProjects in interface GroupScancanPushdownProjects in class AbstractGroupScanpublic GroupScan clone(List<SchemaPath> columns)
GroupScanclone in interface GroupScanclone in class AbstractGroupScanpublic GroupScan cloneWithNewSpec(List<KafkaPartitionScanSpec> partitionScanSpecList)
public KafkaStoragePluginConfig getKafkaStoragePluginConfig()
public List<SchemaPath> getColumns()
GroupScangetColumns in interface GroupScangetColumns in class AbstractGroupScanpublic KafkaScanSpec getKafkaScanSpec()
public KafkaStoragePlugin getStoragePlugin()
public List<KafkaPartitionScanSpec> getPartitionScanSpecList()
Copyright © 2021 The Apache Software Foundation. All rights reserved.