@Internal public class PrintTableSinkFactory extends Object implements org.apache.flink.table.factories.DynamicTableSinkFactory
Four possible format options: PRINT_IDENTIFIER:taskId> output <- PRINT_IDENTIFIER provided, parallelism > 1 PRINT_IDENTIFIER> output <- PRINT_IDENTIFIER provided, parallelism == 1 taskId> output <- no PRINT_IDENTIFIER
provided, parallelism > 1 output <- no PRINT_IDENTIFIER provided, parallelism == 1
output string format is "$RowKind[f0, f1, f2, ...]", example is: "+I[1, 1]".
| Modifier and Type | Field and Description |
|---|---|
static String |
IDENTIFIER |
| Constructor and Description |
|---|
PrintTableSinkFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.connector.sink.DynamicTableSink |
createDynamicTableSink(org.apache.flink.table.factories.DynamicTableFactory.Context context) |
String |
factoryIdentifier() |
Set<org.apache.flink.configuration.ConfigOption<?>> |
optionalOptions() |
Set<org.apache.flink.configuration.ConfigOption<?>> |
requiredOptions() |
public static final String IDENTIFIER
public String factoryIdentifier()
factoryIdentifier in interface org.apache.flink.table.factories.Factorypublic Set<org.apache.flink.configuration.ConfigOption<?>> requiredOptions()
requiredOptions in interface org.apache.flink.table.factories.Factorypublic Set<org.apache.flink.configuration.ConfigOption<?>> optionalOptions()
optionalOptions in interface org.apache.flink.table.factories.Factorypublic org.apache.flink.table.connector.sink.DynamicTableSink createDynamicTableSink(org.apache.flink.table.factories.DynamicTableFactory.Context context)
createDynamicTableSink in interface org.apache.flink.table.factories.DynamicTableSinkFactoryCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.