public abstract class JobStatistics extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
JobStatistics.CopyStatistics
A Google BigQuery Copy Job statistics.
|
static class |
JobStatistics.ExtractStatistics
A Google BigQuery Extract Job statistics.
|
static class |
JobStatistics.LoadStatistics
A Google BigQuery Load Job statistics.
|
static class |
JobStatistics.QueryStatistics
A Google BigQuery Query Job statistics.
|
static class |
JobStatistics.ReservationUsage
ReservationUsage contains information about a job's usage of a single reservation.
|
static class |
JobStatistics.ScriptStatistics
A Google BigQuery Script statistics.
|
static class |
JobStatistics.SessionInfo |
static class |
JobStatistics.TransactionInfo |
Modifier | Constructor and Description |
---|---|
protected |
JobStatistics(com.google.cloud.bigquery.JobStatistics.Builder builder) |
Modifier and Type | Method and Description |
---|---|
Long |
getCreationTime()
Returns the creation time of the job in milliseconds since epoch.
|
Long |
getEndTime()
Returns the end time of the job in milliseconds since epoch.
|
Long |
getNumChildJobs()
Returns the number of child job executed.
|
String |
getParentJobId()
Returns the parent job id of child job.
|
List<JobStatistics.ReservationUsage> |
getReservationUsage()
ReservationUsage contains information about a job's usage of a single reservation.
|
JobStatistics.ScriptStatistics |
getScriptStatistics()
Returns the statistics for a child job of a script.
|
JobStatistics.SessionInfo |
getSessionInfo()
Info of the session if this job is part of one.
|
Long |
getStartTime()
Returns the start time of the job in milliseconds since epoch.
|
JobStatistics.TransactionInfo |
getTransactionInfo()
Info indicates the transaction ID associated with the job, if any.
|
String |
toString() |
protected JobStatistics(com.google.cloud.bigquery.JobStatistics.Builder builder)
public Long getCreationTime()
public Long getEndTime()
null
if the job
has not finished yet.public Long getStartTime()
null
if the job
has not started yet.public Long getNumChildJobs()
public String getParentJobId()
public JobStatistics.ScriptStatistics getScriptStatistics()
public List<JobStatistics.ReservationUsage> getReservationUsage()
public JobStatistics.TransactionInfo getTransactionInfo()
public JobStatistics.SessionInfo getSessionInfo()
Copyright © 2023 Google LLC. All rights reserved.