Class JobStatistics (2.40.2)

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
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()

public 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.

Returns
Type Description
List<ReservationUsage>

getScriptStatistics()

public JobStatistics.ScriptStatistics getScriptStatistics()

Returns the statistics for a child job of a script.

Returns
Type Description
JobStatistics.ScriptStatistics

getSessionInfo()

public JobStatistics.SessionInfo getSessionInfo()

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

Returns
Type Description
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
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.

Returns
Type Description
JobStatistics.TransactionInfo

toString()

public String toString()
Returns
Type Description
String
Overrides