public class KafkaSubScan extends AbstractBase implements SubScan
Modifier and Type | Field and Description |
---|---|
static String |
OPERATOR_TYPE |
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
Constructor and Description |
---|
KafkaSubScan(StoragePluginRegistry registry,
String userName,
KafkaStoragePluginConfig kafkaStoragePluginConfig,
List<SchemaPath> columns,
LinkedList<KafkaPartitionScanSpec> partitionSubScanSpecList) |
KafkaSubScan(String userName,
KafkaStoragePlugin kafkaStoragePlugin,
List<SchemaPath> columns,
List<KafkaPartitionScanSpec> partitionSubScanSpecList) |
Modifier and Type | Method and Description |
---|---|
<T,X,E extends Throwable> |
accept(PhysicalVisitor<T,X,E> physicalVisitor,
X value)
Provides capability to build a set of output based on traversing a query graph tree.
|
List<SchemaPath> |
getColumns() |
KafkaStoragePlugin |
getKafkaStoragePlugin() |
KafkaStoragePluginConfig |
getKafkaStoragePluginConfig() |
PhysicalOperator |
getNewWithChildren(List<PhysicalOperator> children)
Regenerate with this node with a new set of children.
|
String |
getOperatorType() |
List<KafkaPartitionScanSpec> |
getPartitionSubScanSpecList() |
Iterator<PhysicalOperator> |
iterator() |
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
accept
forEach, spliterator
public static final String OPERATOR_TYPE
public KafkaSubScan(StoragePluginRegistry registry, String userName, KafkaStoragePluginConfig kafkaStoragePluginConfig, List<SchemaPath> columns, LinkedList<KafkaPartitionScanSpec> partitionSubScanSpecList) throws ExecutionSetupException
ExecutionSetupException
public KafkaSubScan(String userName, KafkaStoragePlugin kafkaStoragePlugin, List<SchemaPath> columns, List<KafkaPartitionScanSpec> partitionSubScanSpecList)
public <T,X,E extends Throwable> T accept(PhysicalVisitor<T,X,E> physicalVisitor, X value) throws E extends Throwable
PhysicalOperator
accept
in interface PhysicalOperator
E extends Throwable
public PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperator
getNewWithChildren
in interface PhysicalOperator
public Iterator<PhysicalOperator> iterator()
iterator
in interface Iterable<PhysicalOperator>
public KafkaStoragePluginConfig getKafkaStoragePluginConfig()
public List<SchemaPath> getColumns()
public List<KafkaPartitionScanSpec> getPartitionSubScanSpecList()
public KafkaStoragePlugin getKafkaStoragePlugin()
public String getOperatorType()
getOperatorType
in interface PhysicalOperator
Copyright © 1970 The Apache Software Foundation. All rights reserved.