Class FirestoreV1.PartitionQuery
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<InT,OutT>
-
- org.apache.beam.sdk.io.gcp.firestore.FirestoreV1.PartitionQuery
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
- Enclosing class:
- FirestoreV1
public static final class FirestoreV1.PartitionQuery extends org.apache.beam.sdk.transforms.PTransform<InT,OutT>Concrete class representing aPTransform<PCollection<PartitionQueryRequest>,PTransform<RunQueryRequest>>which will read from Firestore.Perform the necessary operations and handling of
PartitionQueryResponses to yield a number ofRunQueryRequestwhich are friendly to being executed in parallel.This class is part of the Firestore Connector DSL, it has a type safe builder accessible via
FirestoreIO.v1().read().partitionQuery().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.partitionQuery(),FirestoreV1.PartitionQuery.Builder,FirestoreV1.Read.runQuery(),FirestoreV1.RunQuery,FirestoreV1.RunQuery.Builder,PartitionQueryRequest,RunQueryResponse, google.firestore.v1.Firestore.PartitionQuery, google.firestore.v1.PartitionQueryRequest, google.firestore.v1.PartitionQueryResponse, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFirestoreV1.PartitionQuery.BuilderA type safe builder forFirestoreV1.PartitionQueryallowing 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.RunQueryRequest>expand(org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.PartitionQueryRequest> input)FirestoreV1.PartitionQuery.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.RunQueryRequest> expand(org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.PartitionQueryRequest> input)
- Specified by:
expandin classorg.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.PartitionQueryRequest>,org.apache.beam.sdk.values.PCollection<com.google.firestore.v1.RunQueryRequest>>
-
toBuilder
public FirestoreV1.PartitionQuery.Builder toBuilder()
Create a newBuilderfrom the current instance.- Returns:
- a new instance of a
Builderinitialized to the current state of this instance
-
-