Class FirestoreV1.RunQuery
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<InT,OutT>
-
- org.apache.beam.sdk.io.gcp.firestore.FirestoreV1.RunQuery
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
- Enclosing class:
- FirestoreV1
public static final class FirestoreV1.RunQuery extends org.apache.beam.sdk.transforms.PTransform<InT,OutT>Concrete class representing aPTransform<PCollection<RunQueryRequest>,PTransform<RunQueryResponse>>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().runQuery().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.runQuery(),FirestoreV1.RunQuery.Builder,RunQueryRequest,RunQueryResponse, google.firestore.v1.Firestore.RunQuery, google.firestore.v1.RunQueryRequest, google.firestore.v1.RunQueryResponse, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFirestoreV1.RunQuery.BuilderA type safe builder forFirestoreV1.RunQueryallowing 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.RunQueryResponse>expand(org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.RunQueryRequest> input)FirestoreV1.RunQuery.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.RunQueryResponse> expand(org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.RunQueryRequest> input)
- Specified by:
expandin classorg.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.RunQueryRequest>,org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.RunQueryResponse>>
-
toBuilder
public FirestoreV1.RunQuery.Builder toBuilder()
Create a newBuilderfrom the current instance.- Returns:
- a new instance of a
Builderinitialized to the current state of this instance
-
-