Package com.google.cloud.bigquery
Class TimelineSample
- java.lang.Object
-
- com.google.cloud.bigquery.TimelineSample
-
public abstract class TimelineSample extends Object
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 Modifier and Type Class Description static class
TimelineSample.Builder
-
Constructor Summary
Constructors Constructor Description TimelineSample()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Long
getActiveUnits()
Returns the total number of work units currently being processed.abstract Long
getCompletedUnits()
Returns the total number of work units completed by this query.abstract Long
getElapsedMs()
Returns the sample time as milliseconds elapsed since the start of query execution.abstract Long
getPendingUnits()
Returns the number of work units remaining for the currently active stages.abstract Long
getSlotMillis()
Returns the cumulative slot-milliseconds consumed by the query.abstract TimelineSample.Builder
toBuilder()
return a builder for theTimelineSample
object.
-
-
-
Method Detail
-
getElapsedMs
@Nullable public abstract Long getElapsedMs()
Returns the sample time as milliseconds elapsed since the start of query execution.
-
getActiveUnits
@Nullable public abstract Long getActiveUnits()
Returns the total number of work units currently being processed.
-
getCompletedUnits
@Nullable public abstract Long getCompletedUnits()
Returns the total number of work units completed by this query.
-
getPendingUnits
@Nullable public abstract Long getPendingUnits()
Returns the number of work units remaining for the currently active stages.
-
getSlotMillis
@Nullable public abstract Long getSlotMillis()
Returns the cumulative slot-milliseconds consumed by the query.
-
toBuilder
public abstract TimelineSample.Builder toBuilder()
return a builder for theTimelineSample
object.
-
-