Class ContinuationBuilder
java.lang.Object
com.apple.foundationdb.relational.recordlayer.ContinuationBuilder
A Builder class for an implementation of a
Continuation
.
The ContinuationImpl
is immutable. This builder class allows a continuation to be built from scratch as well
mutated (via creating a builder from an existing continuation and then modifying).-
Constructor Summary
ConstructorsConstructorDescriptionContinuationBuilder
(com.apple.foundationdb.relational.continuation.ContinuationProto proto) -
Method Summary
Modifier and TypeMethodDescriptioncom.apple.foundationdb.relational.api.Continuation
build()
withBindingHash
(int hash) withCompiledStatement
(CompiledStatement compiledStatementProto) withExecutionState
(byte[] executionState) withPlanHash
(int hash) withReason
(com.apple.foundationdb.relational.api.Continuation.Reason reason)
-
Constructor Details
-
ContinuationBuilder
public ContinuationBuilder() -
ContinuationBuilder
public ContinuationBuilder(@Nonnull com.apple.foundationdb.relational.continuation.ContinuationProto proto)
-
-
Method Details
-
withExecutionState
-
withBindingHash
-
withPlanHash
-
withCompiledStatement
@Nonnull public ContinuationBuilder withCompiledStatement(@Nonnull CompiledStatement compiledStatementProto) -
withReason
@Nonnull public ContinuationBuilder withReason(@Nonnull com.apple.foundationdb.relational.api.Continuation.Reason reason) -
build
public com.apple.foundationdb.relational.api.Continuation build()
-