public class GlobalDynamicBucketSink extends FlinkWriteSink<org.apache.flink.api.java.tuple.Tuple2<InternalRow,Integer>>
Constructor and Description |
---|
GlobalDynamicBucketSink(FileStoreTable table,
Map<String,String> overwritePartition) |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.streaming.api.datastream.DataStreamSink<?> |
build(org.apache.flink.streaming.api.datastream.DataStream<InternalRow> input,
Integer parallelism) |
protected org.apache.flink.streaming.api.operators.OneInputStreamOperator<org.apache.flink.api.java.tuple.Tuple2<InternalRow,Integer>,Committable> |
createWriteOperator(StoreSinkWrite.Provider writeProvider,
String commitUser) |
createCommittableStateManager, createCommitterFactory
assertBatchAdaptiveParallelism, assertBatchAdaptiveParallelism, assertBatchAdaptiveParallelism, assertStreamingConfiguration, configureGlobalCommitter, doCommit, doWrite, isStreaming, isStreaming, sinkFrom, sinkFrom
public GlobalDynamicBucketSink(FileStoreTable table, @Nullable Map<String,String> overwritePartition)
protected org.apache.flink.streaming.api.operators.OneInputStreamOperator<org.apache.flink.api.java.tuple.Tuple2<InternalRow,Integer>,Committable> createWriteOperator(StoreSinkWrite.Provider writeProvider, String commitUser)
createWriteOperator
in class FlinkSink<org.apache.flink.api.java.tuple.Tuple2<InternalRow,Integer>>
public org.apache.flink.streaming.api.datastream.DataStreamSink<?> build(org.apache.flink.streaming.api.datastream.DataStream<InternalRow> input, @Nullable Integer parallelism)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.