public static class BigQuery.JobListOption extends Object
Modifier and Type | Method and Description |
---|---|
static BigQuery.JobListOption |
allUsers()
Returns an option to list all jobs, even the ones issued by other users.
|
boolean |
equals(Object obj) |
static BigQuery.JobListOption |
fields(BigQuery.JobField... fields)
Returns an option to specify the job's fields to be returned by the RPC call.
|
int |
hashCode() |
static BigQuery.JobListOption |
pageSize(long pageSize)
Returns an option to specify the maximum number of jobs returned per page.
|
static BigQuery.JobListOption |
pageToken(String pageToken)
Returns an option to specify the page token from which to start listing jobs.
|
static BigQuery.JobListOption |
stateFilter(JobStatus.State... stateFilters)
Returns an option to list only jobs that match the provided state filters.
|
String |
toString() |
public static BigQuery.JobListOption allUsers()
public static BigQuery.JobListOption stateFilter(JobStatus.State... stateFilters)
public static BigQuery.JobListOption pageSize(long pageSize)
public static BigQuery.JobListOption pageToken(String pageToken)
public static BigQuery.JobListOption fields(BigQuery.JobField... fields)
JobOption.fields()
can be used to
specify only the fields of interest. JobInfo.getJobId()
, JobStatus.getState()
,
JobStatus.getError()
as well as type-specific configuration (e.g. QueryJobConfiguration.getQuery()
for Query Jobs) are always returned, even if not specified.
BigQuery.JobField.SELF_LINK
and BigQuery.JobField.ETAG
can not be selected when listing jobs.Copyright © 2019 Google LLC. All rights reserved.