Package com.google.cloud.bigquery
Class RemoteFunctionOptions.Builder
java.lang.Object
com.google.cloud.bigquery.RemoteFunctionOptions.Builder
- Enclosing class:
- RemoteFunctionOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract RemoteFunctionOptions
build()
Creates aRemoteFunctionOptions
object.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.abstract RemoteFunctionOptions.Builder
setEndpoint
(String endpoint) Sets Endpoint argument Endpoint of the user-provided remote service, e.g.abstract RemoteFunctionOptions.Builder
setMaxBatchingRows
(Long maxBatchingRows) Max number of rows in each batch sent to the remote service.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.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setEndpoint
Sets Endpoint argument Endpoint of the user-provided remote service, e.g. ```https://us-east1-my_gcf_project.cloudfunctions.net/remote_add``` -
setConnection
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
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
Creates aRemoteFunctionOptions
object.
-