Class FirestoreV1.PartitionQuery.Builder

    • Constructor Summary

      Constructors 
      Constructor Description
      Builder​(org.apache.beam.sdk.io.gcp.firestore.JodaClock clock, org.apache.beam.sdk.io.gcp.firestore.FirestoreStatefulComponentFactory firestoreStatefulComponentFactory, RpcQosOptions rpcQosOptions, boolean nameOnlyQuery, @Nullable org.joda.time.Instant readTime)  
    • Constructor Detail

      • Builder

        public Builder​(org.apache.beam.sdk.io.gcp.firestore.JodaClock clock,
                       org.apache.beam.sdk.io.gcp.firestore.FirestoreStatefulComponentFactory firestoreStatefulComponentFactory,
                       RpcQosOptions rpcQosOptions,
                       boolean nameOnlyQuery,
                       @Nullable org.joda.time.Instant readTime)
    • Method Detail

      • build

        public FirestoreV1.PartitionQuery build()
        Create a new instance of Transform from the current builder state.
        Returns:
        a new instance of Transform from the current builder state.
      • withNameOnlyQuery

        public FirestoreV1.PartitionQuery.Builder withNameOnlyQuery()
        Update produced queries to only retrieve their __name__ thereby not retrieving any fields and reducing resource requirements.
        Returns:
        this builder
      • withReadTime

        public final BldrT withReadTime​(@Nullable org.joda.time.Instant readTime)
      • withRpcQosOptions

        public final BldrT withRpcQosOptions​(RpcQosOptions rpcQosOptions)
        Specify the RpcQosOptions that will be used when bootstrapping the QOS of each running instance of the Transform created by this builder.

        NOTE This method behaves as set, mutating the value in this builder instance.

        Parameters:
        rpcQosOptions - The QOS Options to use when bootstrapping and running the built Transform.
        Returns:
        this builder
        See Also:
        RpcQosOptions, RpcQosOptions.defaultOptions(), RpcQosOptions.newBuilder()