Class ReadClientConnectionConfiguration.Builder (2.20.1)

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
TypeDescription
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
NameDescription
bufferSizeLong
Returns
TypeDescription
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
NameDescription
numRowsLong
Returns
TypeDescription
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
NameDescription
ratioLong
Returns
TypeDescription
ReadClientConnectionConfiguration.Builder