public final class JobStatistics extends 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.
|
GenericData.FlagsAbstractMap.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.
|
String |
getReservationId()
[Output-only] Name of the primary reservation assigned to this job.
|
List<JobStatistics.ReservationUsage> |
getReservationUsage()
[Output-only] Job resource usage breakdown by reservation.
|
RowLevelSecurityStatistics |
getRowLevelSecurityStatistics()
[Output-only] [Preview] Statistics for row-level security.
|
ScriptStatistics |
getScriptStatistics()
[Output-only] Statistics for a child job of a script.
|
SessionInfo |
getSessionInfo()
[Output-only] [Preview] Information of the session if this job is part of one.
|
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.
|
TransactionInfo |
getTransactionInfo()
[Output-only] [Alpha] Information of the multi-statement transaction if this job is part of
one.
|
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 |
setReservationId(String reservationId)
[Output-only] Name of the primary reservation assigned to this job.
|
JobStatistics |
setReservationUsage(List<JobStatistics.ReservationUsage> reservationUsage)
[Output-only] Job resource usage breakdown by reservation.
|
JobStatistics |
setRowLevelSecurityStatistics(RowLevelSecurityStatistics rowLevelSecurityStatistics)
[Output-only] [Preview] Statistics for row-level security.
|
JobStatistics |
setScriptStatistics(ScriptStatistics scriptStatistics)
[Output-only] Statistics for a child job of a script.
|
JobStatistics |
setSessionInfo(SessionInfo sessionInfo)
[Output-only] [Preview] Information of the session if this job is part of one.
|
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.
|
JobStatistics |
setTransactionInfo(TransactionInfo transactionInfo)
[Output-only] [Alpha] Information of the multi-statement transaction if this job is part of
one.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 String getReservationId()
null for nonepublic JobStatistics setReservationId(String reservationId)
reservationId - reservationId or null for nonepublic RowLevelSecurityStatistics getRowLevelSecurityStatistics()
null for nonepublic JobStatistics setRowLevelSecurityStatistics(RowLevelSecurityStatistics rowLevelSecurityStatistics)
rowLevelSecurityStatistics - rowLevelSecurityStatistics or null for nonepublic ScriptStatistics getScriptStatistics()
null for nonepublic JobStatistics setScriptStatistics(ScriptStatistics scriptStatistics)
scriptStatistics - scriptStatistics or null for nonepublic SessionInfo getSessionInfo()
null for nonepublic JobStatistics setSessionInfo(SessionInfo sessionInfo)
sessionInfo - sessionInfo 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 TransactionInfo getTransactionInfo()
null for nonepublic JobStatistics setTransactionInfo(TransactionInfo transactionInfo)
transactionInfo - transactionInfo or null for nonepublic JobStatistics set(String fieldName, Object value)
set in class GenericJsonpublic JobStatistics clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.