Class JobStatistics

java.lang.Object
com.google.cloud.bigquery.JobStatistics
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JobStatistics.CopyStatistics, JobStatistics.ExtractStatistics, JobStatistics.LoadStatistics, JobStatistics.QueryStatistics

public abstract class JobStatistics extends Object implements Serializable
A Google BigQuery Job statistics.
See Also:
  • Constructor Details

    • JobStatistics

      protected JobStatistics(com.google.cloud.bigquery.JobStatistics.Builder builder)
  • Method Details

    • getCreationTime

      public Long getCreationTime()
      Returns the creation time of the job in milliseconds since epoch.
    • getEndTime

      public Long getEndTime()
      Returns the end time of the job in milliseconds since epoch. Returns null if the job has not finished yet.
    • getStartTime

      public Long getStartTime()
      Returns the start time of the job in milliseconds since epoch. Returns null if the job has not started yet.
    • getNumChildJobs

      public Long getNumChildJobs()
      Returns the number of child job executed.
    • getParentJobId

      public String getParentJobId()
      Returns the parent job id of child job.
    • getScriptStatistics

      public JobStatistics.ScriptStatistics getScriptStatistics()
      Returns the statistics for a child job of a script.
    • getReservationUsage

      public List<JobStatistics.ReservationUsage> getReservationUsage()
      ReservationUsage contains information about a job's usage of a single reservation.
    • getTransactionInfo

      public JobStatistics.TransactionInfo getTransactionInfo()
      Info indicates the transaction ID associated with the job, if any.
    • getSessionInfo

      public JobStatistics.SessionInfo getSessionInfo()
      Info of the session if this job is part of one.
    • toString

      public String toString()
      Overrides:
      toString in class Object