Package com.google.cloud.bigquery
Class TimelineSample
java.lang.Object
com.google.cloud.bigquery.TimelineSample
A specific timeline sample. This instruments work progress at a given point in time, providing
information about work units active/pending/completed as well as cumulative slot-milliseconds.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract LongReturns the total number of work units currently being processed.abstract LongReturns the total number of work units completed by this query.abstract LongReturns the sample time as milliseconds elapsed since the start of query execution.abstract LongReturns the number of work units remaining for the currently active stages.abstract LongReturns the cumulative slot-milliseconds consumed by the query.abstract TimelineSample.Builderreturn a builder for theTimelineSampleobject.
-
Constructor Details
-
TimelineSample
public TimelineSample()
-
-
Method Details
-
getElapsedMs
Returns the sample time as milliseconds elapsed since the start of query execution. -
getActiveUnits
Returns the total number of work units currently being processed. -
getCompletedUnits
Returns the total number of work units completed by this query. -
getPendingUnits
Returns the number of work units remaining for the currently active stages. -
getSlotMillis
Returns the cumulative slot-milliseconds consumed by the query. -
toBuilder
return a builder for theTimelineSampleobject.
-