Class ReadClientConnectionConfiguration.Builder (2.13.3)

See more code actions.
public abstract static class ReadClientConnectionConfiguration.Builder
java.lang.Object > ReadClientConnectionConfiguration.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract ReadClientConnectionConfiguration build()

Creates a ReadClientConnectionConfiguration object.

Returns

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

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

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