public class BatchExecTableSourceScan extends CommonExecTableSourceScan implements BatchExecNode<org.apache.flink.table.data.RowData>
ExecNode to read data from an external source defined by a bounded ScanTableSource.FIELD_NAME_SCAN_TABLE_SOURCE, SOURCE_TRANSFORMATIONFIELD_NAME_CONFIGURATION, FIELD_NAME_DESCRIPTION, FIELD_NAME_ID, FIELD_NAME_INPUT_PROPERTIES, FIELD_NAME_OUTPUT_TYPE, FIELD_NAME_TYPE| Constructor and Description |
|---|
BatchExecTableSourceScan(org.apache.flink.configuration.ReadableConfig tableConfig,
DynamicTableSourceSpec tableSourceSpec,
org.apache.flink.table.types.logical.RowType outputType,
String description) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.dag.Transformation<org.apache.flink.table.data.RowData> |
createInputFormatTransformation(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env,
org.apache.flink.api.common.io.InputFormat<org.apache.flink.table.data.RowData,?> inputFormat,
org.apache.flink.table.runtime.typeutils.InternalTypeInfo<org.apache.flink.table.data.RowData> outputTypeInfo,
String operatorName)
Creates a
Transformation based on the given InputFormat. |
protected org.apache.flink.api.dag.Transformation<org.apache.flink.table.data.RowData> |
translateToPlanInternal(org.apache.flink.table.planner.delegation.PlannerBase planner,
ExecNodeConfig config)
Internal method, translates this node into a Flink operator.
|
createSourceFunctionTransformation, getSimplifiedName, getTableSourceSpecaccept, createFormattedTransformationDescription, createFormattedTransformationName, createTransformationDescription, createTransformationMeta, createTransformationMeta, createTransformationName, createTransformationUid, getContextFromAnnotation, getDescription, getId, getInputEdges, getInputProperties, getOutputType, getPersistedConfig, inputsContainSingleton, replaceInputEdge, setCompiled, setInputEdges, translateToPlanclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, getDescription, getId, getInputEdges, getInputProperties, getOutputType, replaceInputEdge, setCompiled, setInputEdgestranslateToPlanpublic BatchExecTableSourceScan(org.apache.flink.configuration.ReadableConfig tableConfig,
DynamicTableSourceSpec tableSourceSpec,
org.apache.flink.table.types.logical.RowType outputType,
String description)
protected org.apache.flink.api.dag.Transformation<org.apache.flink.table.data.RowData> translateToPlanInternal(org.apache.flink.table.planner.delegation.PlannerBase planner,
ExecNodeConfig config)
ExecNodeBasetranslateToPlanInternal in class CommonExecTableSourceScanplanner - The planner.config - per-ExecNode configuration that contains the merged configuration from
various layers which all the nodes implementing this method should use, instead of
retrieving configuration from the planner. For more details check ExecNodeConfig.public org.apache.flink.api.dag.Transformation<org.apache.flink.table.data.RowData> createInputFormatTransformation(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env,
org.apache.flink.api.common.io.InputFormat<org.apache.flink.table.data.RowData,?> inputFormat,
org.apache.flink.table.runtime.typeutils.InternalTypeInfo<org.apache.flink.table.data.RowData> outputTypeInfo,
String operatorName)
CommonExecTableSourceScanTransformation based on the given InputFormat. The implementation
is different for streaming mode and batch mode.createInputFormatTransformation in class CommonExecTableSourceScanCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.