public abstract class CommonExecSink extends ExecNodeBase<Object> implements MultipleTransformationTranslator<Object>
ExecNode to write data to an external sink defined by a DynamicTableSink.| Modifier and Type | Field and Description |
|---|---|
static String |
CONSTRAINT_VALIDATOR_TRANSFORMATION |
static String |
FIELD_NAME_DYNAMIC_TABLE_SINK |
static String |
PARTITIONER_TRANSFORMATION |
static String |
SINK_TRANSFORMATION |
protected DynamicTableSinkSpec |
tableSinkSpec |
static String |
TIMESTAMP_INSERTER_TRANSFORMATION |
static String |
UPSERT_MATERIALIZE_TRANSFORMATION |
FIELD_NAME_CONFIGURATION, FIELD_NAME_DESCRIPTION, FIELD_NAME_ID, FIELD_NAME_INPUT_PROPERTIES, FIELD_NAME_OUTPUT_TYPE, FIELD_NAME_TYPE| Modifier | Constructor and Description |
|---|---|
protected |
CommonExecSink(int id,
ExecNodeContext context,
org.apache.flink.configuration.ReadableConfig persistedConfig,
DynamicTableSinkSpec tableSinkSpec,
org.apache.flink.table.connector.ChangelogMode inputChangelogMode,
boolean isBounded,
List<InputProperty> inputProperties,
org.apache.flink.table.types.logical.LogicalType outputType,
String description) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.flink.api.dag.Transformation<Object> |
createSinkTransformation(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment streamExecEnv,
ExecNodeConfig config,
org.apache.flink.api.dag.Transformation<org.apache.flink.table.data.RowData> inputTransform,
org.apache.flink.table.connector.sink.DynamicTableSink tableSink,
int rowtimeFieldIndex,
boolean upsertMaterialize) |
String |
getSimplifiedName() |
DynamicTableSinkSpec |
getTableSinkSpec() |
accept, createFormattedTransformationDescription, createFormattedTransformationName, createTransformationDescription, createTransformationMeta, createTransformationMeta, createTransformationName, createTransformationUid, getContextFromAnnotation, getDescription, getId, getInputEdges, getInputProperties, getOutputType, getPersistedConfig, inputsContainSingleton, replaceInputEdge, setCompiled, setInputEdges, translateToPlan, translateToPlanInternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittranslateToPlanpublic static final String CONSTRAINT_VALIDATOR_TRANSFORMATION
public static final String PARTITIONER_TRANSFORMATION
public static final String UPSERT_MATERIALIZE_TRANSFORMATION
public static final String TIMESTAMP_INSERTER_TRANSFORMATION
public static final String SINK_TRANSFORMATION
public static final String FIELD_NAME_DYNAMIC_TABLE_SINK
protected final DynamicTableSinkSpec tableSinkSpec
protected CommonExecSink(int id,
ExecNodeContext context,
org.apache.flink.configuration.ReadableConfig persistedConfig,
DynamicTableSinkSpec tableSinkSpec,
org.apache.flink.table.connector.ChangelogMode inputChangelogMode,
boolean isBounded,
List<InputProperty> inputProperties,
org.apache.flink.table.types.logical.LogicalType outputType,
String description)
public String getSimplifiedName()
getSimplifiedName in class ExecNodeBase<Object>public DynamicTableSinkSpec getTableSinkSpec()
protected org.apache.flink.api.dag.Transformation<Object> createSinkTransformation(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment streamExecEnv, ExecNodeConfig config, org.apache.flink.api.dag.Transformation<org.apache.flink.table.data.RowData> inputTransform, org.apache.flink.table.connector.sink.DynamicTableSink tableSink, int rowtimeFieldIndex, boolean upsertMaterialize)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.