Class BigQuery.QueryResultsOption (2.42.1)

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
Name Description
maxWaitTime long
Returns
Type Description
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
Name Description
pageSize long
Returns
Type Description
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
Name Description
pageToken String
Returns
Type Description
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
Name Description
startIndex long
Returns
Type Description
BigQuery.QueryResultsOption