Class JobStatistics (2.13.8)

public abstract class JobStatistics implements Serializable

A Google BigQuery Job statistics.

Inheritance

java.lang.Object > JobStatistics

Implements

Serializable

Constructors

JobStatistics(JobStatistics.Builder builder)

protected JobStatistics(JobStatistics.Builder builder)
Parameter
NameDescription
buildercom.google.cloud.bigquery.JobStatistics.Builder

Methods

getCreationTime()

public Long getCreationTime()

Returns the creation time of the job in milliseconds since epoch.

Returns
TypeDescription
Long

getEndTime()

public Long getEndTime()

Returns the end time of the job in milliseconds since epoch. Returns null if the job has not finished yet.

Returns
TypeDescription
Long

getNumChildJobs()

public Long getNumChildJobs()

Returns the number of child job executed.

Returns
TypeDescription
Long

getParentJobId()

public String getParentJobId()

Returns the parent job id of child job.

Returns
TypeDescription
String

getReservationUsage()

public List<JobStatistics.ReservationUsage> getReservationUsage()

ReservationUsage contains information about a job's usage of a single reservation.

Returns
TypeDescription
List<ReservationUsage>

getScriptStatistics()

public JobStatistics.ScriptStatistics getScriptStatistics()

Returns the statistics for a child job of a script.

Returns
TypeDescription
JobStatistics.ScriptStatistics

getSessionInfo()

public JobStatistics.SessionInfo getSessionInfo()

Info of the session if this job is part of one.

Returns
TypeDescription
JobStatistics.SessionInfo

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
TypeDescription
Long

getTransactionInfo()

public JobStatistics.TransactionInfo getTransactionInfo()

Info indicates the transaction ID associated with the job, if any.

Returns
TypeDescription
JobStatistics.TransactionInfo

toString()

public String toString()
Returns
TypeDescription
String
Overrides