public static final class FirestoreV1.RunQuery extends PTransform<InT,OutT>
PTransform
<
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)
.
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 FormModifier and Type | Class and Description |
---|---|
static class |
FirestoreV1.RunQuery.Builder
A type safe builder for
FirestoreV1.RunQuery allowing configuration and instantiation. |
annotations, displayData, name, resourceHints
Modifier and Type | Method and Description |
---|---|
PCollection<com.google.firestore.v1.RunQueryResponse> |
expand(PCollection<com.google.firestore.v1.RunQueryRequest> input)
Override this method to specify how this
PTransform should be expanded on the given
InputT . |
FirestoreV1.RunQuery.Builder |
toBuilder()
Create a new
Builder from the current instance. |
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, setDisplayData, setResourceHints, toString, validate, validate
public PCollection<com.google.firestore.v1.RunQueryResponse> expand(PCollection<com.google.firestore.v1.RunQueryRequest> input)
PTransform
PTransform
should be expanded on the given
InputT
.
NOTE: This method should not be called directly. Instead apply the PTransform
should
be applied to the InputT
using the apply
method.
Composite transforms, which are defined in terms of other transforms, should return the output of one of the composed transforms. Non-composite transforms, which do not apply any transforms internally, should return a new unbound output and register evaluators (via backend-specific registration methods).
expand
in class PTransform<PCollection<com.google.firestore.v1.RunQueryRequest>,PCollection<com.google.firestore.v1.RunQueryResponse>>
public FirestoreV1.RunQuery.Builder toBuilder()
Builder
from the current instance.Builder
initialized to the current state of this
instance