Class FirestoreV1.RunQuery

java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PCollection<com.google.firestore.v1.RunQueryRequest>,PCollection<com.google.firestore.v1.RunQueryResponse>>
org.apache.beam.sdk.io.gcp.firestore.FirestoreV1.RunQuery
All Implemented Interfaces:
Serializable, HasDisplayData
Enclosing class:
FirestoreV1

public static final class FirestoreV1.RunQuery extends PTransform<PCollection<com.google.firestore.v1.RunQueryRequest>,PCollection<com.google.firestore.v1.RunQueryResponse>>
Concrete class representing a 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).

See Also:
  • Method Details

    • expand

      public PCollection<com.google.firestore.v1.RunQueryResponse> expand(PCollection<com.google.firestore.v1.RunQueryRequest> input)
      Description copied from class: PTransform
      Override this method to specify how this 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).

      Specified by:
      expand in class PTransform<PCollection<com.google.firestore.v1.RunQueryRequest>,PCollection<com.google.firestore.v1.RunQueryResponse>>
    • toBuilder

      public FirestoreV1.RunQuery.Builder toBuilder()
      Create a new Builder from the current instance.
      Returns:
      a new instance of a Builder initialized to the current state of this instance
    • populateDisplayData

      public final void populateDisplayData(DisplayData.Builder builder)
      Description copied from class: PTransform
      Register display data for the given transform or component.

      populateDisplayData(DisplayData.Builder) is invoked by Pipeline runners to collect display data via DisplayData.from(HasDisplayData). Implementations may call super.populateDisplayData(builder) in order to register display data in the current namespace, but should otherwise use subcomponent.populateDisplayData(builder) to use the namespace of the subcomponent.

      By default, does not register any display data. Implementors may override this method to provide their own display data.

      Specified by:
      populateDisplayData in interface HasDisplayData
      Overrides:
      populateDisplayData in class PTransform<InT extends PInput,OutT extends POutput>
      Parameters:
      builder - The builder to populate with display data.
      See Also: