Package com.google.cloud.bigquery
Class BigQuery.JobListOption
java.lang.Object
com.google.cloud.bigquery.BigQuery.JobListOption
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- BigQuery
Class for specifying job list options.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic BigQuery.JobListOptionallUsers()Returns an option to list all jobs, even the ones issued by other users.booleanstatic BigQuery.JobListOptionfields(BigQuery.JobField... fields) Returns an option to specify the job's fields to be returned by the RPC call.inthashCode()static BigQuery.JobListOptionmaxCreationTime(long maxCreationTime) Returns an option to filter out jobs after the given maximum creation time.static BigQuery.JobListOptionminCreationTime(long minCreationTime) Returns an option to filter out jobs before the given minimum creation time.static BigQuery.JobListOptionpageSize(long pageSize) Returns an option to specify the maximum number of jobs returned per page.static BigQuery.JobListOptionReturns an option to specify the page token from which to start listing jobs.static BigQuery.JobListOptionparentJobId(String parentJobId) Returns an option to list only child job from specify parent job id.static BigQuery.JobListOptionstateFilter(JobStatus.State... stateFilters) Returns an option to list only jobs that match the provided state filters.toString()
-
Method Details
-
allUsers
Returns an option to list all jobs, even the ones issued by other users. -
stateFilter
Returns an option to list only jobs that match the provided state filters. -
minCreationTime
Returns an option to filter out jobs before the given minimum creation time. -
maxCreationTime
Returns an option to filter out jobs after the given maximum creation time. -
pageSize
Returns an option to specify the maximum number of jobs returned per page. -
pageToken
Returns an option to specify the page token from which to start listing jobs. -
parentJobId
Returns an option to list only child job from specify parent job id. -
fields
Returns an option to specify the job's fields to be returned by the RPC call. If this option is not provided all job's fields are returned.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_LINKandBigQuery.JobField.ETAGcan not be selected when listing jobs. -
equals
-
hashCode
public int hashCode() -
toString
-