Class BigQuery.QueryResultsOption (2.35.0)

public static class BigQuery.QueryResultsOption extends Option

Class for specifying query results options.

Inheritance

Object > com.google.cloud.bigquery.Option > BigQuery.QueryResultsOption

Static Methods

maxWaitTime(long maxWaitTime)

public static BigQuery.QueryResultsOption maxWaitTime(long maxWaitTime)

Returns an option that sets how long to wait for the query to complete, in milliseconds, before returning. Default is 10 seconds.

Parameter
NameDescription
maxWaitTimelong
Returns
TypeDescription
BigQuery.QueryResultsOption

pageSize(long pageSize)

public static BigQuery.QueryResultsOption pageSize(long pageSize)

Returns an option to specify the maximum number of rows returned per page.

Parameter
NameDescription
pageSizelong
Returns
TypeDescription
BigQuery.QueryResultsOption

pageToken(String pageToken)

public static BigQuery.QueryResultsOption pageToken(String pageToken)

Returns an option to specify the page token from which to start getting query results.

Parameter
NameDescription
pageTokenString
Returns
TypeDescription
BigQuery.QueryResultsOption

startIndex(long startIndex)

public static BigQuery.QueryResultsOption startIndex(long startIndex)

Returns an option that sets the zero-based index of the row from which to start getting query results.

Parameter
NameDescription
startIndexlong
Returns
TypeDescription
BigQuery.QueryResultsOption