@ExecNodeMetadata(name="stream-exec-table-source-scan", version=1, producedTransformations="source", minPlanVersion=v1_15, minStateVersion=v1_15) public class StreamExecTableSourceScan extends CommonExecTableSourceScan implements StreamExecNode<RowData>
ExecNode
to read data from an external source defined by a ScanTableSource
.FIELD_NAME_SCAN_TABLE_SOURCE, SOURCE_TRANSFORMATION
FIELD_NAME_CONFIGURATION, FIELD_NAME_DESCRIPTION, FIELD_NAME_ID, FIELD_NAME_INPUT_PROPERTIES, FIELD_NAME_OUTPUT_TYPE, FIELD_NAME_STATE, FIELD_NAME_TYPE
Constructor and Description |
---|
StreamExecTableSourceScan(int id,
ExecNodeContext context,
ReadableConfig persistedConfig,
DynamicTableSourceSpec tableSourceSpec,
RowType outputType,
String description) |
StreamExecTableSourceScan(ReadableConfig tableConfig,
DynamicTableSourceSpec tableSourceSpec,
RowType outputType,
String description) |
Modifier and Type | Method and Description |
---|---|
Transformation<RowData> |
createInputFormatTransformation(StreamExecutionEnvironment env,
InputFormat<RowData,?> inputFormat,
InternalTypeInfo<RowData> outputTypeInfo,
String operatorName)
Creates a
Transformation based on the given InputFormat . |
createSourceFunctionTransformation, getPhysicalRowType, getPrimaryKeyIndices, getSimplifiedName, getTableSourceSpec, translateToPlanInternal
accept, createFormattedTransformationDescription, createFormattedTransformationName, createTransformationDescription, createTransformationMeta, createTransformationMeta, createTransformationName, createTransformationUid, getContextFromAnnotation, getDescription, getId, getInputEdges, getInputProperties, getOutputType, getPersistedConfig, getTransformation, inputsContainSingleton, replaceInputEdge, setCompiled, setInputEdges, supportFusionCodegen, translateToFusionCodegenSpec, translateToFusionCodegenSpecInternal, translateToPlan
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, getDescription, getId, getInputEdges, getInputProperties, getOutputType, replaceInputEdge, setCompiled, setInputEdges
translateToPlan
supportFusionCodegen, translateToFusionCodegenSpec
public StreamExecTableSourceScan(ReadableConfig tableConfig, DynamicTableSourceSpec tableSourceSpec, RowType outputType, String description)
public StreamExecTableSourceScan(int id, ExecNodeContext context, ReadableConfig persistedConfig, DynamicTableSourceSpec tableSourceSpec, RowType outputType, String description)
public Transformation<RowData> createInputFormatTransformation(StreamExecutionEnvironment env, InputFormat<RowData,?> inputFormat, InternalTypeInfo<RowData> outputTypeInfo, String operatorName)
CommonExecTableSourceScan
Transformation
based on the given InputFormat
. The implementation
is different for streaming mode and batch mode.createInputFormatTransformation
in class CommonExecTableSourceScan
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.