Class RemoteFunctionOptions.Builder

java.lang.Object
com.google.cloud.bigquery.RemoteFunctionOptions.Builder
Enclosing class:
RemoteFunctionOptions

public abstract static class RemoteFunctionOptions.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setEndpoint

      public abstract RemoteFunctionOptions.Builder setEndpoint(String endpoint)
      Sets Endpoint argument Endpoint of the user-provided remote service, e.g. ```https://us-east1-my_gcf_project.cloudfunctions.net/remote_add```
    • setConnection

      public abstract RemoteFunctionOptions.Builder setConnection(String connection)
      Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: ```\"projects/{projectId}/locations/{locationId}/connections/{connectionId}\"```
    • setUserDefinedContext

      public abstract RemoteFunctionOptions.Builder setUserDefinedContext(Map<String,String> userDefinedContext)
      User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    • setMaxBatchingRows

      public abstract RemoteFunctionOptions.Builder setMaxBatchingRows(Long maxBatchingRows)
      Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    • build

      public abstract RemoteFunctionOptions build()
      Creates a RemoteFunctionOptions object.