Class ReadClientConnectionConfiguration.Builder (2.37.2)

publicabstractstaticclass ReadClientConnectionConfiguration.Builder

Inheritance

java.lang.Object > ReadClientConnectionConfiguration.Builder

Constructors

Builder()

publicBuilder()

Methods

build()

publicabstractReadClientConnectionConfigurationbuild()

Creates a ReadClientConnectionConfiguration object.

Returns
Type Description
ReadClientConnectionConfiguration

setBufferSize(Long bufferSize)

publicabstractReadClientConnectionConfiguration.BuildersetBufferSize(LongbufferSize)

Sets the maximum number of table rows allowed in buffer before streaming them to the BigQueryResult.

Parameter
Name Description
bufferSize Long
Returns
Type Description
ReadClientConnectionConfiguration.Builder

setMinResultSize(Long numRows)

publicabstractReadClientConnectionConfiguration.BuildersetMinResultSize(LongnumRows)

Sets the minimum number of table rows in the query results used to determine whether to us the BigQueryStorage Read client to fetch result sets after the first page.

Parameter
Name Description
numRows Long
Returns
Type Description
ReadClientConnectionConfiguration.Builder

setTotalToPageRowCountRatio(Long ratio)

publicabstractReadClientConnectionConfiguration.BuildersetTotalToPageRowCountRatio(Longratio)

Sets the total row count to page row count ratio used to determine whether to us the BigQueryStorage Read client to fetch result sets after the first page.

Parameter
Name Description
ratio Long
Returns
Type Description
ReadClientConnectionConfiguration.Builder

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 2025年10月30日 UTC.