public static final class FirestoreV1.PartitionQuery
extends org.apache.beam.sdk.transforms.PTransform<InT,OutT>
PTransform
<
PCollection
<
PartitionQueryRequest
>,
PTransform
<
RunQueryRequest
>>
which will read from Firestore.
Perform the necessary operations and handling of PartitionQueryResponse
s to yield a
number of RunQueryRequest
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)
.
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 FormModifier and Type | Class and Description |
---|---|
static class |
FirestoreV1.PartitionQuery.Builder
A type safe builder for
FirestoreV1.PartitionQuery allowing configuration and instantiation. |
Modifier and Type | Method and 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 new
Builder from the current instance. |
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)
expand
in class org.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>>
public FirestoreV1.PartitionQuery.Builder toBuilder()
Builder
from the current instance.Builder
initialized to the current state of this
instance