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
PartitionQueryResponse
s to yield a number ofRunQueryRequest
which 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 class
FirestoreV1.PartitionQuery.Builder
A type safe builder forFirestoreV1.PartitionQuery
allowing 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.Builder
toBuilder()
Create a newBuilder
from the current instance.
-
-
-
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:
expand
in 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 newBuilder
from the current instance.- Returns:
- a new instance of a
Builder
initialized to the current state of this instance
-
-