public static final class FirestoreV1.PartitionQuery.Builder
extends java.lang.Object
FirestoreV1.PartitionQuery
allowing configuration and instantiation.
This class is part of the Firestore Connector DSL, it has a type safe builder accessible
via FirestoreIO.v1()
.
read()
.
partitionQuery()
.
FirestoreIO.v1()
,
FirestoreV1.read()
,
FirestoreV1.Read.partitionQuery()
,
FirestoreV1.PartitionQuery
,
PartitionQueryRequest
,
RunQueryResponse
,
google.firestore.v1.Firestore.PartitionQuery,
google.firestore.v1.PartitionQueryRequest,
google.firestore.v1.PartitionQueryResponseConstructor and Description |
---|
Builder(org.apache.beam.sdk.io.gcp.firestore.JodaClock clock,
org.apache.beam.sdk.io.gcp.firestore.FirestoreStatefulComponentFactory firestoreStatefulComponentFactory,
RpcQosOptions rpcQosOptions,
boolean nameOnlyQuery,
@Nullable Instant readTime) |
Modifier and Type | Method and Description |
---|---|
FirestoreV1.PartitionQuery |
build()
Create a new instance of
Transform from the current builder state. |
FirestoreV1.PartitionQuery.Builder |
withNameOnlyQuery()
Update produced queries to only retrieve their
__name__ thereby not retrieving any
fields and reducing resource requirements. |
BldrT |
withReadTime(@Nullable Instant readTime) |
BldrT |
withRpcQosOptions(RpcQosOptions rpcQosOptions)
Specify the
RpcQosOptions that will be used when bootstrapping the QOS of each
running instance of the Transform created by this builder. |
public Builder(org.apache.beam.sdk.io.gcp.firestore.JodaClock clock, org.apache.beam.sdk.io.gcp.firestore.FirestoreStatefulComponentFactory firestoreStatefulComponentFactory, RpcQosOptions rpcQosOptions, boolean nameOnlyQuery, @Nullable Instant readTime)
public FirestoreV1.PartitionQuery build()
Transform
from the current builder state.Transform
from the current builder state.public FirestoreV1.PartitionQuery.Builder withNameOnlyQuery()
__name__
thereby not retrieving any
fields and reducing resource requirements.public final BldrT withRpcQosOptions(RpcQosOptions rpcQosOptions)
RpcQosOptions
that will be used when bootstrapping the QOS of each
running instance of the Transform
created by this builder.
NOTE This method behaves as set, mutating the value in this builder instance.
rpcQosOptions
- The QOS Options to use when bootstrapping and running the built Transform
.RpcQosOptions
,
RpcQosOptions.defaultOptions()
,
RpcQosOptions.newBuilder()