Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class JobStatistics (2.46.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.46.0keyboard_arrow_down
public abstract class JobStatistics implements Serializable
A Google BigQuery Job statistics.
Constructors
JobStatistics(JobStatistics.Builder builder)
protected JobStatistics ( JobStatistics . Builder builder )
Parameter
Name
Description
builder
com.google.cloud.bigquery.JobStatistics.Builder
Methods
getCreationTime()
public Long getCreationTime ()
Returns the creation time of the job in milliseconds since epoch.
Returns
Type
Description
Long
getEndTime()
Returns the end time of the job in milliseconds since epoch. Returns null
if the job
has not finished yet.
Returns
Type
Description
Long
getNumChildJobs()
public Long getNumChildJobs ()
Returns the number of child job executed.
Returns
Type
Description
Long
getParentJobId()
public String getParentJobId ()
Returns the parent job id of child job.
Returns
Type
Description
String
getReservationUsage()
public List<JobStatistics . ReservationUsage > getReservationUsage ()
ReservationUsage contains information about a job's usage of a single reservation.
getScriptStatistics()
public JobStatistics . ScriptStatistics getScriptStatistics ()
Returns the statistics for a child job of a script.
getSessionInfo()
public JobStatistics . SessionInfo getSessionInfo ()
Info of the session if this job is part of one.
getStartTime()
public Long getStartTime ()
Returns the start time of the job in milliseconds since epoch. Returns null
if the job
has not started yet.
Returns
Type
Description
Long
getTotalSlotMs()
public Long getTotalSlotMs ()
Returns the slot-milliseconds for the job.
Returns
Type
Description
Long
getTransactionInfo()
public JobStatistics . TransactionInfo getTransactionInfo ()
Info indicates the transaction ID associated with the job, if any.
toString()
Returns
Type
Description
String
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-31 UTC."],[],[]]