target.apidocs.com.google.api.services.bigquery.model.JobStatistics.html Maven / Gradle / Ivy
JobStatistics (BigQuery API v2-rev20190616-1.29.2)
com.google.api.services.bigquery.model
Class JobStatistics
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.JobStatistics
-
public final class JobStatistics
extends GenericJson
Model definition for JobStatistics.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
JobStatistics.ReservationUsage
Model definition for JobStatisticsReservationUsage.
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
JobStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCompletionRatio
public Double getCompletionRatio()
[TrustedTester] [Output-only] Job progress (0.0 -> 1.0) for LOAD and EXTRACT jobs.
- Returns:
- value or
null
for none
-
setCompletionRatio
public JobStatistics setCompletionRatio(Double completionRatio)
[TrustedTester] [Output-only] Job progress (0.0 -> 1.0) for LOAD and EXTRACT jobs.
- Parameters:
completionRatio
- completionRatio or null
for none
-
getCreationTime
public Long getCreationTime()
[Output-only] Creation time of this job, in milliseconds since the epoch. This field will be
present on all jobs.
- Returns:
- value or
null
for none
-
setCreationTime
public JobStatistics setCreationTime(Long creationTime)
[Output-only] Creation time of this job, in milliseconds since the epoch. This field will be
present on all jobs.
- Parameters:
creationTime
- creationTime or null
for none
-
getEndTime
public Long getEndTime()
[Output-only] End time of this job, in milliseconds since the epoch. This field will be present
whenever a job is in the DONE state.
- Returns:
- value or
null
for none
-
setEndTime
public JobStatistics setEndTime(Long endTime)
[Output-only] End time of this job, in milliseconds since the epoch. This field will be present
whenever a job is in the DONE state.
- Parameters:
endTime
- endTime or null
for none
-
getExtract
public JobStatistics4 getExtract()
[Output-only] Statistics for an extract job.
- Returns:
- value or
null
for none
-
setExtract
public JobStatistics setExtract(JobStatistics4 extract)
[Output-only] Statistics for an extract job.
- Parameters:
extract
- extract or null
for none
-
getLoad
public JobStatistics3 getLoad()
[Output-only] Statistics for a load job.
- Returns:
- value or
null
for none
-
setLoad
public JobStatistics setLoad(JobStatistics3 load)
[Output-only] Statistics for a load job.
- Parameters:
load
- load or null
for none
-
getNumChildJobs
public Long getNumChildJobs()
[Output-only] Number of child jobs executed.
- Returns:
- value or
null
for none
-
setNumChildJobs
public JobStatistics setNumChildJobs(Long numChildJobs)
[Output-only] Number of child jobs executed.
- Parameters:
numChildJobs
- numChildJobs or null
for none
-
getParentJobId
public String getParentJobId()
[Output-only] If this is a child job, the id of the parent.
- Returns:
- value or
null
for none
-
setParentJobId
public JobStatistics setParentJobId(String parentJobId)
[Output-only] If this is a child job, the id of the parent.
- Parameters:
parentJobId
- parentJobId or null
for none
-
getQuery
public JobStatistics2 getQuery()
[Output-only] Statistics for a query job.
- Returns:
- value or
null
for none
-
setQuery
public JobStatistics setQuery(JobStatistics2 query)
[Output-only] Statistics for a query job.
- Parameters:
query
- query or null
for none
-
getQuotaDeferments
public List<String> getQuotaDeferments()
[Output-only] Quotas which delayed this job's start time.
- Returns:
- value or
null
for none
-
setQuotaDeferments
public JobStatistics setQuotaDeferments(List<String> quotaDeferments)
[Output-only] Quotas which delayed this job's start time.
- Parameters:
quotaDeferments
- quotaDeferments or null
for none
-
getReservationUsage
public List<JobStatistics.ReservationUsage> getReservationUsage()
[Output-only] Job resource usage breakdown by reservation.
- Returns:
- value or
null
for none
-
setReservationUsage
public JobStatistics setReservationUsage(List<JobStatistics.ReservationUsage> reservationUsage)
[Output-only] Job resource usage breakdown by reservation.
- Parameters:
reservationUsage
- reservationUsage or null
for none
-
getStartTime
public Long getStartTime()
[Output-only] Start time of this job, in milliseconds since the epoch. This field will be
present when the job transitions from the PENDING state to either RUNNING or DONE.
- Returns:
- value or
null
for none
-
setStartTime
public JobStatistics setStartTime(Long startTime)
[Output-only] Start time of this job, in milliseconds since the epoch. This field will be
present when the job transitions from the PENDING state to either RUNNING or DONE.
- Parameters:
startTime
- startTime or null
for none
-
getTotalBytesProcessed
public Long getTotalBytesProcessed()
[Output-only] [Deprecated] Use the bytes processed in the query statistics instead.
- Returns:
- value or
null
for none
-
setTotalBytesProcessed
public JobStatistics setTotalBytesProcessed(Long totalBytesProcessed)
[Output-only] [Deprecated] Use the bytes processed in the query statistics instead.
- Parameters:
totalBytesProcessed
- totalBytesProcessed or null
for none
-
getTotalSlotMs
public Long getTotalSlotMs()
[Output-only] Slot-milliseconds for the job.
- Returns:
- value or
null
for none
-
setTotalSlotMs
public JobStatistics setTotalSlotMs(Long totalSlotMs)
[Output-only] Slot-milliseconds for the job.
- Parameters:
totalSlotMs
- totalSlotMs or null
for none
-
set
public JobStatistics set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public JobStatistics clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy