Class ReadClientConnectionConfiguration.Builder

java.lang.Object
com.google.cloud.bigquery.ReadClientConnectionConfiguration.Builder
Enclosing class:
ReadClientConnectionConfiguration

public abstract static class ReadClientConnectionConfiguration.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setTotalToPageRowCountRatio

      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

      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

      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 a ReadClientConnectionConfiguration object.