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>
A DeclarationStage is a single stage in a declaration chain. It allows a further chaining of
operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinish()thenAccept(org.apache.flink.util.function.ThrowingConsumer<T, Exception> action) <U> DeclarationChain<IN>.DeclarationStage<U>thenCompose(org.apache.flink.util.function.FunctionWithException<T, org.apache.flink.api.common.state.v2.StateFuture<U>, Exception> action)
-
Constructor Details
-
DeclarationStage
public DeclarationStage()
-
-
Method Details
-
thenCompose
public <U> DeclarationChain<IN>.DeclarationStage<U> thenCompose(org.apache.flink.util.function.FunctionWithException<T, org.apache.flink.api.common.state.v2.StateFuture<U>, throws DeclarationExceptionException> action) - Throws:
DeclarationException
-
thenAccept
public DeclarationChain<IN>.DeclarationStage<Void> thenAccept(org.apache.flink.util.function.ThrowingConsumer<T, Exception> action) throws DeclarationException- Throws:
DeclarationException
-
withName
- Throws:
DeclarationException
-
finish
- Throws:
DeclarationException
-