public abstract class DynamicBucketSink<T> extends FlinkWriteSink<org.apache.flink.api.java.tuple.Tuple2<T,Integer>>
Constructor and Description |
---|
DynamicBucketSink(FileStoreTable table,
Map<String,String> overwritePartition) |
Modifier and Type | Method and Description |
---|---|
protected abstract ChannelComputer<T> |
assignerChannelComputer(Integer numAssigners) |
org.apache.flink.streaming.api.datastream.DataStreamSink<?> |
build(org.apache.flink.streaming.api.datastream.DataStream<T> input,
Integer parallelism) |
protected abstract ChannelComputer<org.apache.flink.api.java.tuple.Tuple2<T,Integer>> |
channelComputer2() |
protected HashBucketAssignerOperator<T> |
createHashBucketAssignerOperator(String commitUser,
Table table,
Integer numAssigners,
SerializableFunction<TableSchema,PartitionKeyExtractor<T>> extractorFunction,
boolean overwrite) |
protected abstract SerializableFunction<TableSchema,PartitionKeyExtractor<T>> |
extractorFunction() |
createCommittableStateManager, createCommitterFactory
assertBatchAdaptiveParallelism, assertBatchAdaptiveParallelism, assertBatchAdaptiveParallelism, assertStreamingConfiguration, configureGlobalCommitter, createWriteOperator, doCommit, doWrite, isStreaming, isStreaming, sinkFrom, sinkFrom
public DynamicBucketSink(FileStoreTable table, @Nullable Map<String,String> overwritePartition)
protected abstract ChannelComputer<T> assignerChannelComputer(Integer numAssigners)
protected abstract ChannelComputer<org.apache.flink.api.java.tuple.Tuple2<T,Integer>> channelComputer2()
protected abstract SerializableFunction<TableSchema,PartitionKeyExtractor<T>> extractorFunction()
protected HashBucketAssignerOperator<T> createHashBucketAssignerOperator(String commitUser, Table table, Integer numAssigners, SerializableFunction<TableSchema,PartitionKeyExtractor<T>> extractorFunction, boolean overwrite)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.