Send feedback
Class JsonStreamWriter.Builder (2.28.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.28.3 keyboard_arrow_down
public static final class JsonStreamWriter . Builder
Methods
build()
public JsonStreamWriter build ()
Returns
Exceptions
getStreamName()
public String getStreamName ()
Stream name on the builder.
Returns
setChannelProvider(TransportChannelProvider channelProvider)
public JsonStreamWriter . Builder setChannelProvider ( TransportChannelProvider channelProvider )
Setter for the underlying StreamWriter's TransportChannelProvider.
Parameter
Returns
setCredentialsProvider(CredentialsProvider credentialsProvider)
public JsonStreamWriter . Builder setCredentialsProvider ( CredentialsProvider credentialsProvider )
Setter for the underlying StreamWriter's CredentialsProvider.
Parameter
Returns
setEnableConnectionPool(boolean enableConnectionPool)
public JsonStreamWriter . Builder setEnableConnectionPool ( boolean enableConnectionPool )
Enable multiplexing for this writer. In multiplexing mode tables will share the same
connection if possible until the connection is overwhelmed. This feature is still under
development, please contact write api team before using.
Parameter
Name Description enableConnectionPool
boolean
Returns
setEndpoint(String endpoint)
public JsonStreamWriter . Builder setEndpoint ( String endpoint )
Setter for the underlying StreamWriter's Endpoint.
Parameter
Returns
setExecutorProvider(ExecutorProvider executorProvider)
public JsonStreamWriter . Builder setExecutorProvider ( ExecutorProvider executorProvider )
Setter for the underlying StreamWriter's ExecutorProvider.
Parameter
Returns
setFlowControlSettings(FlowControlSettings flowControlSettings)
public JsonStreamWriter . Builder setFlowControlSettings ( FlowControlSettings flowControlSettings )
Setter for the underlying StreamWriter's FlowControlSettings.
Parameter
Returns
setIgnoreUnknownFields(boolean ignoreUnknownFields)
public JsonStreamWriter . Builder setIgnoreUnknownFields ( boolean ignoreUnknownFields )
Setter for a ignoreUnkownFields, if true, unknown Json fields to BigQuery will be ignored
instead of error out.
Parameter
Name Description ignoreUnknownFields
boolean
Returns
setLocation(String location)
public JsonStreamWriter . Builder setLocation ( String location )
Location of the table this stream writer is targeting. Connection pools are shared by
location.
Parameter
Returns
setReconnectAfter10M(boolean reconnectAfter10M)
public JsonStreamWriter . Builder setReconnectAfter10M ( boolean reconnectAfter10M )
Parameter
Name Description reconnectAfter10M
boolean
Returns
setTraceId(String traceId)
public JsonStreamWriter . Builder setTraceId ( String traceId )
Setter for a traceId to help identify traffic origin.
Parameter
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-05 UTC."],[],[]]