Class ReadClientConnectionConfiguration.Builder (2.42.0)

public abstract static class ReadClientConnectionConfiguration.Builder

Inheritance

java.lang.Object > ReadClientConnectionConfiguration.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract ReadClientConnectionConfiguration build()

Creates a ReadClientConnectionConfiguration object.

Returns
Type Description
ReadClientConnectionConfiguration

setBufferSize(Long bufferSize)

public abstract ReadClientConnectionConfiguration.Builder setBufferSize(Long bufferSize)

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)

public abstract ReadClientConnectionConfiguration.Builder setMinResultSize(Long numRows)

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)

public abstract ReadClientConnectionConfiguration.Builder setTotalToPageRowCountRatio(Long ratio)

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