Package com.google.cloud.bigquery
Class BigQuery.QueryResultsOption
- java.lang.Object
-
- com.google.cloud.bigquery.BigQuery.QueryResultsOption
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- BigQuery
public static class BigQuery.QueryResultsOption extends Object
Class for specifying query results options.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
static BigQuery.QueryResultsOption
maxWaitTime(long maxWaitTime)
Returns an option that sets how long to wait for the query to complete, in milliseconds, before returning.static BigQuery.QueryResultsOption
pageSize(long pageSize)
Returns an option to specify the maximum number of rows returned per page.static BigQuery.QueryResultsOption
pageToken(String pageToken)
Returns an option to specify the page token from which to start getting query results.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.String
toString()
-
-
-
Method Detail
-
pageSize
public static BigQuery.QueryResultsOption pageSize(long pageSize)
Returns an option to specify the maximum number of rows returned per page.
-
pageToken
public static BigQuery.QueryResultsOption pageToken(String pageToken)
Returns an option to specify the page token from which to start getting query results.
-
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.
-
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.
-
-