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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Long
Returns the total number of work units currently being processed.abstract Long
Returns the total number of work units completed by this query.abstract Long
Returns the sample time as milliseconds elapsed since the start of query execution.abstract Long
Returns the number of work units remaining for the currently active stages.abstract Long
Returns the cumulative slot-milliseconds consumed by the query.abstract TimelineSample.Builder
return a builder for theTimelineSample
object.
-
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 theTimelineSample
object.
-