@Internal public class BatchSink extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPACT_OP_NAME |
static String |
COORDINATOR_OP_NAME |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.apache.flink.streaming.api.datastream.DataStreamSink<?> |
createBatchCompactSink(org.apache.flink.streaming.api.datastream.DataStream<CompactMessages.CoordinatorInput> dataStream,
org.apache.flink.streaming.api.functions.sink.filesystem.StreamingFileSink.BucketsBuilder<T,String,? extends org.apache.flink.streaming.api.functions.sink.filesystem.StreamingFileSink.BucketsBuilder<T,String,?>> builder,
CompactReader.Factory<T> readFactory,
FileSystemFactory fsFactory,
TableMetaStoreFactory metaStoreFactory,
PartitionCommitPolicyFactory partitionCommitPolicyFactory,
String[] partitionColumns,
LinkedHashMap<String,String> staticPartitionSpec,
org.apache.flink.core.fs.Path tmpPath,
org.apache.flink.table.catalog.ObjectIdentifier identifier,
long compactAverageSize,
long compactTargetSize,
boolean isToLocal,
boolean overwrite,
int compactParallelism,
boolean compactParallelismConfigured) |
static org.apache.flink.streaming.api.datastream.DataStreamSink<org.apache.flink.types.Row> |
createBatchNoCompactSink(org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.table.data.RowData> dataStream,
org.apache.flink.table.connector.sink.DynamicTableSink.DataStructureConverter converter,
FileSystemOutputFormat<org.apache.flink.types.Row> fileSystemOutputFormat,
int parallelism,
boolean parallelismConfigured) |
public static final String COORDINATOR_OP_NAME
public static final String COMPACT_OP_NAME
public static org.apache.flink.streaming.api.datastream.DataStreamSink<org.apache.flink.types.Row> createBatchNoCompactSink(org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.table.data.RowData> dataStream,
org.apache.flink.table.connector.sink.DynamicTableSink.DataStructureConverter converter,
FileSystemOutputFormat<org.apache.flink.types.Row> fileSystemOutputFormat,
int parallelism,
boolean parallelismConfigured)
public static <T> org.apache.flink.streaming.api.datastream.DataStreamSink<?> createBatchCompactSink(org.apache.flink.streaming.api.datastream.DataStream<CompactMessages.CoordinatorInput> dataStream, org.apache.flink.streaming.api.functions.sink.filesystem.StreamingFileSink.BucketsBuilder<T,String,? extends org.apache.flink.streaming.api.functions.sink.filesystem.StreamingFileSink.BucketsBuilder<T,String,?>> builder, CompactReader.Factory<T> readFactory, FileSystemFactory fsFactory, TableMetaStoreFactory metaStoreFactory, PartitionCommitPolicyFactory partitionCommitPolicyFactory, String[] partitionColumns, LinkedHashMap<String,String> staticPartitionSpec, org.apache.flink.core.fs.Path tmpPath, org.apache.flink.table.catalog.ObjectIdentifier identifier, long compactAverageSize, long compactTargetSize, boolean isToLocal, boolean overwrite, int compactParallelism, boolean compactParallelismConfigured)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.