public final class JobStatistics
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
JobStatistics.ReservationUsage
Model definition for JobStatisticsReservationUsage.
|
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JobStatistics() |
Modifier and Type | Method and Description |
---|---|
JobStatistics |
clone() |
Double |
getCompletionRatio()
[TrustedTester] [Output-only] Job progress (0.0 -> 1.0) for LOAD and EXTRACT jobs.
|
Long |
getCreationTime()
[Output-only] Creation time of this job, in milliseconds since the epoch.
|
Long |
getEndTime()
[Output-only] End time of this job, in milliseconds since the epoch.
|
JobStatistics4 |
getExtract()
[Output-only] Statistics for an extract job.
|
JobStatistics3 |
getLoad()
[Output-only] Statistics for a load job.
|
Long |
getNumChildJobs()
[Output-only] Number of child jobs executed.
|
String |
getParentJobId()
[Output-only] If this is a child job, the id of the parent.
|
JobStatistics2 |
getQuery()
[Output-only] Statistics for a query job.
|
List<String> |
getQuotaDeferments()
[Output-only] Quotas which delayed this job's start time.
|
List<JobStatistics.ReservationUsage> |
getReservationUsage()
[Output-only] Job resource usage breakdown by reservation.
|
Long |
getStartTime()
[Output-only] Start time of this job, in milliseconds since the epoch.
|
Long |
getTotalBytesProcessed()
[Output-only] [Deprecated] Use the bytes processed in the query statistics instead.
|
Long |
getTotalSlotMs()
[Output-only] Slot-milliseconds for the job.
|
JobStatistics |
set(String fieldName,
Object value) |
JobStatistics |
setCompletionRatio(Double completionRatio)
[TrustedTester] [Output-only] Job progress (0.0 -> 1.0) for LOAD and EXTRACT jobs.
|
JobStatistics |
setCreationTime(Long creationTime)
[Output-only] Creation time of this job, in milliseconds since the epoch.
|
JobStatistics |
setEndTime(Long endTime)
[Output-only] End time of this job, in milliseconds since the epoch.
|
JobStatistics |
setExtract(JobStatistics4 extract)
[Output-only] Statistics for an extract job.
|
JobStatistics |
setLoad(JobStatistics3 load)
[Output-only] Statistics for a load job.
|
JobStatistics |
setNumChildJobs(Long numChildJobs)
[Output-only] Number of child jobs executed.
|
JobStatistics |
setParentJobId(String parentJobId)
[Output-only] If this is a child job, the id of the parent.
|
JobStatistics |
setQuery(JobStatistics2 query)
[Output-only] Statistics for a query job.
|
JobStatistics |
setQuotaDeferments(List<String> quotaDeferments)
[Output-only] Quotas which delayed this job's start time.
|
JobStatistics |
setReservationUsage(List<JobStatistics.ReservationUsage> reservationUsage)
[Output-only] Job resource usage breakdown by reservation.
|
JobStatistics |
setStartTime(Long startTime)
[Output-only] Start time of this job, in milliseconds since the epoch.
|
JobStatistics |
setTotalBytesProcessed(Long totalBytesProcessed)
[Output-only] [Deprecated] Use the bytes processed in the query statistics instead.
|
JobStatistics |
setTotalSlotMs(Long totalSlotMs)
[Output-only] Slot-milliseconds for the job.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Double getCompletionRatio()
null
for nonepublic JobStatistics setCompletionRatio(Double completionRatio)
completionRatio
- completionRatio or null
for nonepublic Long getCreationTime()
null
for nonepublic JobStatistics setCreationTime(Long creationTime)
creationTime
- creationTime or null
for nonepublic Long getEndTime()
null
for nonepublic JobStatistics setEndTime(Long endTime)
endTime
- endTime or null
for nonepublic JobStatistics4 getExtract()
null
for nonepublic JobStatistics setExtract(JobStatistics4 extract)
extract
- extract or null
for nonepublic JobStatistics3 getLoad()
null
for nonepublic JobStatistics setLoad(JobStatistics3 load)
load
- load or null
for nonepublic Long getNumChildJobs()
null
for nonepublic JobStatistics setNumChildJobs(Long numChildJobs)
numChildJobs
- numChildJobs or null
for nonepublic String getParentJobId()
null
for nonepublic JobStatistics setParentJobId(String parentJobId)
parentJobId
- parentJobId or null
for nonepublic JobStatistics2 getQuery()
null
for nonepublic JobStatistics setQuery(JobStatistics2 query)
query
- query or null
for nonepublic List<String> getQuotaDeferments()
null
for nonepublic JobStatistics setQuotaDeferments(List<String> quotaDeferments)
quotaDeferments
- quotaDeferments or null
for nonepublic List<JobStatistics.ReservationUsage> getReservationUsage()
null
for nonepublic JobStatistics setReservationUsage(List<JobStatistics.ReservationUsage> reservationUsage)
reservationUsage
- reservationUsage or null
for nonepublic Long getStartTime()
null
for nonepublic JobStatistics setStartTime(Long startTime)
startTime
- startTime or null
for nonepublic Long getTotalBytesProcessed()
null
for nonepublic JobStatistics setTotalBytesProcessed(Long totalBytesProcessed)
totalBytesProcessed
- totalBytesProcessed or null
for nonepublic Long getTotalSlotMs()
null
for nonepublic JobStatistics setTotalSlotMs(Long totalSlotMs)
totalSlotMs
- totalSlotMs or null
for nonepublic JobStatistics set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public JobStatistics clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.