Class DeclarationChain.DeclarationStage<T>
- java.lang.Object
-
- org.apache.flink.runtime.asyncprocessing.declare.DeclarationChain.DeclarationStage<T>
-
- Type Parameters:
T- The output of previous transformations. Will be the input type of further chained operation.
- Enclosing class:
- DeclarationChain<IN>
public class DeclarationChain.DeclarationStage<T> extends Object
A DeclarationStage is a single stage in a declaration chain. It allows a further chaining of operations.
-
-
Constructor Summary
Constructors Constructor Description DeclarationStage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeclarationChain<IN>finish()DeclarationChain.DeclarationStage<Void>thenAccept(org.apache.flink.util.function.ThrowingConsumer<T,Exception> action)<U> DeclarationChain.DeclarationStage<U>thenCompose(org.apache.flink.util.function.FunctionWithException<T,org.apache.flink.api.common.state.v2.StateFuture<U>,Exception> action)DeclarationChain.DeclarationStage<T>withName(String name)
-
-
-
Method Detail
-
thenCompose
public <U> DeclarationChain.DeclarationStage<U> thenCompose(org.apache.flink.util.function.FunctionWithException<T,org.apache.flink.api.common.state.v2.StateFuture<U>,Exception> action) throws DeclarationException
- Throws:
DeclarationException
-
thenAccept
public DeclarationChain.DeclarationStage<Void> thenAccept(org.apache.flink.util.function.ThrowingConsumer<T,Exception> action) throws DeclarationException
- Throws:
DeclarationException
-
withName
public DeclarationChain.DeclarationStage<T> withName(String name) throws DeclarationException
- Throws:
DeclarationException
-
finish
public DeclarationChain<IN> finish() throws DeclarationException
- Throws:
DeclarationException
-
-