target.apidocs.com.google.api.services.bigquery.model.QueryTimelineSample.html Maven / Gradle / Ivy
QueryTimelineSample (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery.model
Class QueryTimelineSample
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.QueryTimelineSample
-
public final class QueryTimelineSample
extends com.google.api.client.json.GenericJson
Summary of the state of query execution at a given time.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
QueryTimelineSample()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
QueryTimelineSample
clone()
Long
getActiveUnits()
Total number of active workers.
Long
getCompletedUnits()
Total parallel units of work completed by this query.
Long
getElapsedMs()
Milliseconds elapsed since the start of query execution.
Long
getEstimatedRunnableUnits()
Units of work that can be scheduled immediately.
Long
getPendingUnits()
Total units of work remaining for the query.
Long
getTotalSlotMs()
Cumulative slot-ms consumed by the query.
QueryTimelineSample
set(String fieldName,
Object value)
QueryTimelineSample
setActiveUnits(Long activeUnits)
Total number of active workers.
QueryTimelineSample
setCompletedUnits(Long completedUnits)
Total parallel units of work completed by this query.
QueryTimelineSample
setElapsedMs(Long elapsedMs)
Milliseconds elapsed since the start of query execution.
QueryTimelineSample
setEstimatedRunnableUnits(Long estimatedRunnableUnits)
Units of work that can be scheduled immediately.
QueryTimelineSample
setPendingUnits(Long pendingUnits)
Total units of work remaining for the query.
QueryTimelineSample
setTotalSlotMs(Long totalSlotMs)
Cumulative slot-ms consumed by the query.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getActiveUnits
public Long getActiveUnits()
Total number of active workers. This does not correspond directly to slot usage. This is the
largest value observed since the last sample.
- Returns:
- value or
null
for none
-
setActiveUnits
public QueryTimelineSample setActiveUnits(Long activeUnits)
Total number of active workers. This does not correspond directly to slot usage. This is the
largest value observed since the last sample.
- Parameters:
activeUnits
- activeUnits or null
for none
-
getCompletedUnits
public Long getCompletedUnits()
Total parallel units of work completed by this query.
- Returns:
- value or
null
for none
-
setCompletedUnits
public QueryTimelineSample setCompletedUnits(Long completedUnits)
Total parallel units of work completed by this query.
- Parameters:
completedUnits
- completedUnits or null
for none
-
getElapsedMs
public Long getElapsedMs()
Milliseconds elapsed since the start of query execution.
- Returns:
- value or
null
for none
-
setElapsedMs
public QueryTimelineSample setElapsedMs(Long elapsedMs)
Milliseconds elapsed since the start of query execution.
- Parameters:
elapsedMs
- elapsedMs or null
for none
-
getEstimatedRunnableUnits
public Long getEstimatedRunnableUnits()
Units of work that can be scheduled immediately. Providing additional slots for these units of
work will accelerate the query, if no other query in the reservation needs additional slots.
- Returns:
- value or
null
for none
-
setEstimatedRunnableUnits
public QueryTimelineSample setEstimatedRunnableUnits(Long estimatedRunnableUnits)
Units of work that can be scheduled immediately. Providing additional slots for these units of
work will accelerate the query, if no other query in the reservation needs additional slots.
- Parameters:
estimatedRunnableUnits
- estimatedRunnableUnits or null
for none
-
getPendingUnits
public Long getPendingUnits()
Total units of work remaining for the query. This number can be revised (increased or
decreased) while the query is running.
- Returns:
- value or
null
for none
-
setPendingUnits
public QueryTimelineSample setPendingUnits(Long pendingUnits)
Total units of work remaining for the query. This number can be revised (increased or
decreased) while the query is running.
- Parameters:
pendingUnits
- pendingUnits or null
for none
-
getTotalSlotMs
public Long getTotalSlotMs()
Cumulative slot-ms consumed by the query.
- Returns:
- value or
null
for none
-
setTotalSlotMs
public QueryTimelineSample setTotalSlotMs(Long totalSlotMs)
Cumulative slot-ms consumed by the query.
- Parameters:
totalSlotMs
- totalSlotMs or null
for none
-
set
public QueryTimelineSample set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public QueryTimelineSample clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.