Package com.google.cloud.bigquery
Class ReadClientConnectionConfiguration.Builder
java.lang.Object
com.google.cloud.bigquery.ReadClientConnectionConfiguration.Builder
- Enclosing class:
- ReadClientConnectionConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ReadClientConnectionConfigurationbuild()Creates aReadClientConnectionConfigurationobject.setBufferSize(Long bufferSize) Sets the maximum number of table rows allowed in buffer before streaming them to the BigQueryResult.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.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.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setTotalToPageRowCountRatio
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. -
setMinResultSize
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. -
setBufferSize
Sets the maximum number of table rows allowed in buffer before streaming them to the BigQueryResult. -
build
Creates aReadClientConnectionConfigurationobject.
-