Package com.google.cloud.bigquery
Class ReadClientConnectionConfiguration.Builder
- java.lang.Object
-
- com.google.cloud.bigquery.ReadClientConnectionConfiguration.Builder
-
- Enclosing class:
- ReadClientConnectionConfiguration
public abstract static class ReadClientConnectionConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ReadClientConnectionConfiguration
build()
Creates aReadClientConnectionConfiguration
object.abstract ReadClientConnectionConfiguration.Builder
setBufferSize(Long bufferSize)
Sets the maximum number of table rows allowed in buffer before streaming them to the BigQueryResult.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.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.
-
-
-
Method Detail
-
setTotalToPageRowCountRatio
@Nullable 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.
-
setMinResultSize
@Nullable 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.
-
setBufferSize
@Nullable public abstract ReadClientConnectionConfiguration.Builder setBufferSize(Long bufferSize)
Sets the maximum number of table rows allowed in buffer before streaming them to the BigQueryResult.
-
build
public abstract ReadClientConnectionConfiguration build()
Creates aReadClientConnectionConfiguration
object.
-
-