@Experimental public interface GlobalStream<T> extends DataStream
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
GlobalStream.ProcessConfigurableAndGlobalStream<T>
This interface represents a configurable
GlobalStream. |
static interface |
GlobalStream.TwoGlobalStreams<T1,T2>
This class represents a combination of two
GlobalStream. |
| 限定符和类型 | 方法和说明 |
|---|---|
BroadcastStream<T> |
broadcast()
Transform this stream to a new
BroadcastStream. |
<T_OTHER,OUT> |
connectAndProcess(GlobalStream<T_OTHER> other,
TwoInputNonBroadcastStreamProcessFunction<T,T_OTHER,OUT> processFunction)
Apply a two input operation to this and other
GlobalStream. |
<K> KeyedPartitionStream<K,T> |
keyBy(org.apache.flink.api.java.functions.KeySelector<T,K> keySelector)
Transform this stream to a
KeyedPartitionStream. |
<OUT> GlobalStream.ProcessConfigurableAndGlobalStream<OUT> |
process(OneInputStreamProcessFunction<T,OUT> processFunction)
Apply an operation to this
GlobalStream. |
<OUT1,OUT2> |
process(TwoOutputStreamProcessFunction<T,OUT1,OUT2> processFunction)
Apply a two output operation to this
GlobalStream. |
NonKeyedPartitionStream<T> |
shuffle()
Transform this stream to a new
NonKeyedPartitionStream, data will be shuffled between
these two streams. |
ProcessConfigurable<?> |
toSink(org.apache.flink.api.connector.dsv2.Sink<T> sink) |
<OUT> GlobalStream.ProcessConfigurableAndGlobalStream<OUT> process(OneInputStreamProcessFunction<T,OUT> processFunction)
GlobalStream.processFunction - to perform operation.<OUT1,OUT2> GlobalStream.TwoGlobalStreams<OUT1,OUT2> process(TwoOutputStreamProcessFunction<T,OUT1,OUT2> processFunction)
GlobalStream.processFunction - to perform two output operation.<T_OTHER,OUT> GlobalStream.ProcessConfigurableAndGlobalStream<OUT> connectAndProcess(GlobalStream<T_OTHER> other, TwoInputNonBroadcastStreamProcessFunction<T,T_OTHER,OUT> processFunction)
GlobalStream.other - GlobalStream to perform operation with two input.processFunction - to perform operation.<K> KeyedPartitionStream<K,T> keyBy(org.apache.flink.api.java.functions.KeySelector<T,K> keySelector)
KeyedPartitionStream.keySelector - to decide how to map data to partition.NonKeyedPartitionStream<T> shuffle()
NonKeyedPartitionStream, data will be shuffled between
these two streams.BroadcastStream<T> broadcast()
BroadcastStream.BroadcastStream.ProcessConfigurable<?> toSink(org.apache.flink.api.connector.dsv2.Sink<T> sink)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.