| 程序包 | 说明 |
|---|---|
| org.apache.flink.state.api | |
| org.apache.flink.state.api.runtime | |
| org.apache.flink.state.api.runtime.metadata |
| 限定符和类型 | 方法和说明 |
|---|---|
<ACC,R> StateBootstrapTransformation<T> |
WindowedStateTransformation.aggregate(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,R> function)
Applies the given aggregation function to each window.
|
<ACC,R> StateBootstrapTransformation<T> |
WindowedStateTransformation.aggregate(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,R> function,
org.apache.flink.api.common.typeinfo.TypeInformation<ACC> accumulatorType)
Applies the given aggregation function to each window.
|
<ACC,V,R> StateBootstrapTransformation<T> |
WindowedStateTransformation.aggregate(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggFunction,
org.apache.flink.streaming.api.functions.windowing.ProcessWindowFunction<V,R,K,W> windowFunction)
Applies the given window function to each window.
|
<ACC,V,R> StateBootstrapTransformation<T> |
WindowedStateTransformation.aggregate(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggregateFunction,
org.apache.flink.streaming.api.functions.windowing.ProcessWindowFunction<V,R,K,W> windowFunction,
org.apache.flink.api.common.typeinfo.TypeInformation<ACC> accumulatorType)
Applies the given window function to each window.
|
<ACC,V,R> StateBootstrapTransformation<T> |
WindowedStateTransformation.aggregate(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggFunction,
org.apache.flink.streaming.api.functions.windowing.WindowFunction<V,R,K,W> windowFunction)
Applies the given window function to each window.
|
<ACC,V,R> StateBootstrapTransformation<T> |
WindowedStateTransformation.aggregate(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggregateFunction,
org.apache.flink.streaming.api.functions.windowing.WindowFunction<V,R,K,W> windowFunction,
org.apache.flink.api.common.typeinfo.TypeInformation<ACC> accumulatorType)
Applies the given window function to each window.
|
<R> StateBootstrapTransformation<T> |
WindowedStateTransformation.apply(org.apache.flink.streaming.api.functions.windowing.WindowFunction<T,R,K,W> function)
Applies the given window function to each window.
|
<R> StateBootstrapTransformation<T> |
WindowedStateTransformation.apply(org.apache.flink.streaming.api.functions.windowing.WindowFunction<T,R,K,W> function,
org.apache.flink.api.common.typeinfo.TypeInformation<R> resultType)
Applies the given window function to each window.
|
<R> StateBootstrapTransformation<T> |
WindowedStateTransformation.process(org.apache.flink.streaming.api.functions.windowing.ProcessWindowFunction<T,R,K,W> function)
Applies the given window function to each window.
|
StateBootstrapTransformation<T> |
WindowedStateTransformation.reduce(org.apache.flink.api.common.functions.ReduceFunction<T> function)
Applies a reduce function to the window.
|
<R> StateBootstrapTransformation<T> |
WindowedStateTransformation.reduce(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
org.apache.flink.streaming.api.functions.windowing.ProcessWindowFunction<T,R,K,W> function)
Applies the given window function to each window.
|
<R> StateBootstrapTransformation<T> |
WindowedStateTransformation.reduce(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
org.apache.flink.streaming.api.functions.windowing.WindowFunction<T,R,K,W> function)
Applies the given window function to each window.
|
StateBootstrapTransformation<T> |
OneInputStateTransformation.transform(BroadcastStateBootstrapFunction<T> processFunction)
Applies the given
BroadcastStateBootstrapFunction on the non-keyed input. |
StateBootstrapTransformation<T> |
KeyedStateTransformation.transform(KeyedStateBootstrapFunction<K,T> processFunction)
Applies the given
KeyedStateBootstrapFunction on the keyed input. |
StateBootstrapTransformation<T> |
OneInputStateTransformation.transform(SavepointWriterOperatorFactory factory)
Method for passing user defined operators along with the type information that will transform
the OperatorTransformation.
|
StateBootstrapTransformation<T> |
KeyedStateTransformation.transform(SavepointWriterOperatorFactory factory)
Method for passing user defined operators along with the type information that will transform
the OperatorTransformation.
|
StateBootstrapTransformation<T> |
OneInputStateTransformation.transform(StateBootstrapFunction<T> processFunction)
Applies the given
StateBootstrapFunction on the non-keyed input. |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> SavepointWriter |
SavepointWriter.withOperator(String uid,
StateBootstrapTransformation<T> transformation)
Adds a new operator to the savepoint.
|
| 限定符和类型 | 方法和说明 |
|---|---|
StateBootstrapTransformation<T> |
StateBootstrapTransformationWithID.getBootstrapTransformation() |
| 构造器和说明 |
|---|
StateBootstrapTransformationWithID(org.apache.flink.runtime.jobgraph.OperatorID operatorID,
StateBootstrapTransformation<T> bootstrapTransformation) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SavepointMetadataV2.addOperator(String uid,
StateBootstrapTransformation<?> transformation) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.