Class FirestoreV1.BatchGetDocuments
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<InT,OutT>
-
- org.apache.beam.sdk.io.gcp.firestore.FirestoreV1.BatchGetDocuments
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
- Enclosing class:
- FirestoreV1
public static final class FirestoreV1.BatchGetDocuments extends org.apache.beam.sdk.transforms.PTransform<InT,OutT>Concrete class representing aPTransform<PCollection<BatchGetDocumentsRequest>,PTransform<BatchGetDocumentsResponse>>which will read from Firestore.This class is part of the Firestore Connector DSL, it has a type safe builder accessible via
FirestoreIO.v1().read().batchGetDocuments().All request quality-of-service for an instance of this PTransform is scoped to the worker and configured via
FirestoreV1.Transform.Builder.withRpcQosOptions(RpcQosOptions).- See Also:
FirestoreIO.v1(),FirestoreV1.read(),FirestoreV1.Read.batchGetDocuments(),FirestoreV1.BatchGetDocuments.Builder,BatchGetDocumentsRequest,BatchGetDocumentsResponse, google.firestore.v1.Firestore.BatchGetDocuments, google.firestore.v1.BatchGetDocumentsRequest, google.firestore.v1.BatchGetDocumentsResponse, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFirestoreV1.BatchGetDocuments.BuilderA type safe builder forFirestoreV1.BatchGetDocumentsallowing configuration and instantiation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.BatchGetDocumentsResponse>expand(org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.BatchGetDocumentsRequest> input)FirestoreV1.BatchGetDocuments.BuildertoBuilder()Create a newBuilderfrom the current instance.-
Methods inherited from class org.apache.beam.sdk.transforms.PTransform
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, setDisplayData, setResourceHints, toString, validate, validate
-
-
-
-
Method Detail
-
expand
public org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.BatchGetDocumentsResponse> expand(org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.BatchGetDocumentsRequest> input)
- Specified by:
expandin classorg.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.BatchGetDocumentsRequest>,org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.BatchGetDocumentsResponse>>
-
toBuilder
public FirestoreV1.BatchGetDocuments.Builder toBuilder()
Create a newBuilderfrom the current instance.- Returns:
- a new instance of a
Builderinitialized to the current state of this instance
-
-