Class FirestoreV1.Read
- Enclosing class:
FirestoreV1
This class is part of the Firestore Connector DSL and should be accessed via FirestoreIO.v1().read()
.
This class provides access to a set of type safe builders for read operations available in
the Firestore V1 API accessed through FirestoreStub
. Each builder allows configuration before creating an immutable instance which
can be used in your pipeline.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionFactory method to create a new type safe builder forBatchGetDocumentsRequest
operations.Factory method to create a new type safe builder forListCollectionIdsRequest
operations.Factory method to create a new type safe builder forListDocumentsRequest
operations.Factory method to create a new type safe builder forPartitionQueryRequest
operations.runQuery()
Factory method to create a new type safe builder forRunQueryRequest
operations.
-
Method Details
-
listDocuments
Factory method to create a new type safe builder forListDocumentsRequest
operations.This method is part of the Firestore Connector DSL and should be accessed via
FirestoreIO.v1()
.All request quality-of-service for the built
FirestoreV1.ListDocuments
PTransform is scoped to the worker and configured based on theRpcQosOptions
specified via this builder.All logging for the built instance of
FirestoreV1.ListDocuments
will be sent to appenderorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.ListDocuments
.The following metrics will be available for the built instance of
FirestoreV1.ListDocuments
org.apache.beam.sdk.io.gcp.firestore.FirestoreV1.ListDocuments.throttlingMs
A counter tracking the number of milliseconds RPCs are throttled by Qosorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.ListDocuments.rpcFailures
A counter tracking the number of failed RPCsorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.ListDocuments.rpcSuccesses
A counter tracking the number of successful RPCs
- Returns:
- A new type safe builder providing configuration for processing of
ListDocumentsRequest
s - See Also:
-
listCollectionIds
Factory method to create a new type safe builder forListCollectionIdsRequest
operations.This method is part of the Firestore Connector DSL and should be accessed via
FirestoreIO.v1()
.All request quality-of-service for the built
FirestoreV1.ListCollectionIds
PTransform is scoped to the worker and configured based on theRpcQosOptions
specified via this builder.All logging for the built instance of
FirestoreV1.ListCollectionIds
will be sent to appenderorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.ListCollectionIds
.The following metrics will be available for the built instance of
FirestoreV1.ListCollectionIds
org.apache.beam.sdk.io.gcp.firestore.FirestoreV1.ListCollectionIds.throttlingMs
A counter tracking the number of milliseconds RPCs are throttled by Qosorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.ListCollectionIds.rpcFailures
A counter tracking the number of failed RPCsorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.ListCollectionIds.rpcSuccesses
A counter tracking the number of successful RPCs
- Returns:
- A new type safe builder providing configuration for processing of
ListCollectionIdsRequest
s - See Also:
-
batchGetDocuments
Factory method to create a new type safe builder forBatchGetDocumentsRequest
operations.This method is part of the Firestore Connector DSL and should be accessed via
FirestoreIO.v1()
.All request quality-of-service for the built
FirestoreV1.BatchGetDocuments
PTransform is scoped to the worker and configured based on theRpcQosOptions
specified via this builder.All logging for the built instance of
FirestoreV1.BatchGetDocuments
will be sent to appenderorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.BatchGetDocuments
.The following metrics will be available for the built instance of
FirestoreV1.BatchGetDocuments
org.apache.beam.sdk.io.gcp.firestore.FirestoreV1.BatchGetDocuments.throttlingMs
A counter tracking the number of milliseconds RPCs are throttled by Qosorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.BatchGetDocuments.rpcFailures
A counter tracking the number of failed RPCsorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.BatchGetDocuments.rpcSuccesses
A counter tracking the number of successful RPCsorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.RunQuery.rpcStreamValueReceived
A counter tracking the number of values received by a streaming RPC
- Returns:
- A new type safe builder providing configuration for processing of
BatchGetDocumentsRequest
s - See Also:
-
runQuery
Factory method to create a new type safe builder forRunQueryRequest
operations.This method is part of the Firestore Connector DSL and should be accessed via
FirestoreIO.v1()
.All request quality-of-service for the built
FirestoreV1.RunQuery
PTransform is scoped to the worker and configured based on theRpcQosOptions
specified via this builder.All logging for the built instance of
FirestoreV1.RunQuery
will be sent to appenderorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.RunQuery
.The following metrics will be available for the built instance of
FirestoreV1.RunQuery
org.apache.beam.sdk.io.gcp.firestore.FirestoreV1.RunQuery.throttlingMs
A counter tracking the number of milliseconds RPCs are throttled by Qosorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.RunQuery.rpcFailures
A counter tracking the number of failed RPCsorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.RunQuery.rpcSuccesses
A counter tracking the number of successful RPCsorg.apache.beam.sdk.io.gcp.firestore.FirestoreV1.RunQuery.rpcStreamValueReceived
A counter tracking the number of values received by a streaming RPC
- Returns:
- A new type safe builder providing configuration for processing of
RunQueryRequest
s - See Also:
-
partitionQuery
Factory method to create a new type safe builder forPartitionQueryRequest
operations.This method is part of the Firestore Connector DSL and should be accessed via
FirestoreIO.v1()
.All request quality-of-service for the built
FirestoreV1.PartitionQuery
PTransform is scoped to the worker and configured based on theRpcQosOptions
specified via this builder.- Returns:
- A new type safe builder providing configuration for processing of
PartitionQueryRequest
s - See Also:
-