Class FirestoreV1.BatchGetDocuments.Builder
java.lang.Object
org.apache.beam.sdk.io.gcp.firestore.FirestoreV1.BatchGetDocuments.Builder
- Enclosing class:
FirestoreV1.BatchGetDocuments
A type safe builder for
FirestoreV1.BatchGetDocuments
allowing configuration and instantiation.
This class is part of the Firestore Connector DSL, it has a type safe builder accessible
via FirestoreIO.v1()
.
read()
.
batchGetDocuments()
.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder
(org.apache.beam.sdk.io.gcp.firestore.JodaClock clock, org.apache.beam.sdk.io.gcp.firestore.FirestoreStatefulComponentFactory firestoreStatefulComponentFactory, RpcQosOptions rpcQosOptions, @Nullable Instant readTime) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create a new instance ofTransform
from the current builder state.withReadTime
(@Nullable Instant readTime) withRpcQosOptions
(RpcQosOptions rpcQosOptions) Specify theRpcQosOptions
that will be used when bootstrapping the QOS of each running instance of theTransform
created by this builder.
-
Constructor Details
-
Builder
public Builder(org.apache.beam.sdk.io.gcp.firestore.JodaClock clock, org.apache.beam.sdk.io.gcp.firestore.FirestoreStatefulComponentFactory firestoreStatefulComponentFactory, RpcQosOptions rpcQosOptions, @Nullable Instant readTime)
-
-
Method Details
-
build
Create a new instance ofTransform
from the current builder state.- Returns:
- a new instance of
Transform
from the current builder state.
-
withReadTime
-
withRpcQosOptions
Specify theRpcQosOptions
that will be used when bootstrapping the QOS of each running instance of theTransform
created by this builder.NOTE This method behaves as set, mutating the value in this builder instance.
- Parameters:
rpcQosOptions
- The QOS Options to use when bootstrapping and running the builtTransform
.- Returns:
- this builder
- See Also:
-