#include <query_timeline_sample.h>
◆ QueryTimelineSample() [1/2]
google_bigquery_api::QueryTimelineSample::QueryTimelineSample |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ QueryTimelineSample() [2/2]
google_bigquery_api::QueryTimelineSample::QueryTimelineSample |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~QueryTimelineSample()
google_bigquery_api::QueryTimelineSample::~QueryTimelineSample |
( |
| ) |
|
|
virtual |
◆ clear_active_units()
void google_bigquery_api::QueryTimelineSample::clear_active_units |
( |
| ) |
|
|
inline |
Clears the 'activeUnits
' attribute.
◆ clear_completed_units()
void google_bigquery_api::QueryTimelineSample::clear_completed_units |
( |
| ) |
|
|
inline |
Clears the 'completedUnits
' attribute.
◆ clear_elapsed_ms()
void google_bigquery_api::QueryTimelineSample::clear_elapsed_ms |
( |
| ) |
|
|
inline |
Clears the 'elapsedMs
' attribute.
◆ clear_pending_units()
void google_bigquery_api::QueryTimelineSample::clear_pending_units |
( |
| ) |
|
|
inline |
Clears the 'pendingUnits
' attribute.
◆ clear_total_slot_ms()
void google_bigquery_api::QueryTimelineSample::clear_total_slot_ms |
( |
| ) |
|
|
inline |
Clears the 'totalSlotMs
' attribute.
◆ get_active_units()
int64 google_bigquery_api::QueryTimelineSample::get_active_units |
( |
| ) |
const |
|
inline |
Get the value of the 'activeUnits
' attribute.
◆ get_completed_units()
int64 google_bigquery_api::QueryTimelineSample::get_completed_units |
( |
| ) |
const |
|
inline |
Get the value of the 'completedUnits
' attribute.
◆ get_elapsed_ms()
int64 google_bigquery_api::QueryTimelineSample::get_elapsed_ms |
( |
| ) |
const |
|
inline |
Get the value of the 'elapsedMs
' attribute.
◆ get_pending_units()
int64 google_bigquery_api::QueryTimelineSample::get_pending_units |
( |
| ) |
const |
|
inline |
Get the value of the 'pendingUnits
' attribute.
◆ get_total_slot_ms()
int64 google_bigquery_api::QueryTimelineSample::get_total_slot_ms |
( |
| ) |
const |
|
inline |
Get the value of the 'totalSlotMs
' attribute.
◆ GetTypeName()
const StringPiece google_bigquery_api::QueryTimelineSample::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_active_units()
bool google_bigquery_api::QueryTimelineSample::has_active_units |
( |
| ) |
const |
|
inline |
Determine if the 'activeUnits
' attribute was set.
- Returns
- true if the '
activeUnits
' attribute was set.
◆ has_completed_units()
bool google_bigquery_api::QueryTimelineSample::has_completed_units |
( |
| ) |
const |
|
inline |
Determine if the 'completedUnits
' attribute was set.
- Returns
- true if the '
completedUnits
' attribute was set.
◆ has_elapsed_ms()
bool google_bigquery_api::QueryTimelineSample::has_elapsed_ms |
( |
| ) |
const |
|
inline |
Determine if the 'elapsedMs
' attribute was set.
- Returns
- true if the '
elapsedMs
' attribute was set.
◆ has_pending_units()
bool google_bigquery_api::QueryTimelineSample::has_pending_units |
( |
| ) |
const |
|
inline |
Determine if the 'pendingUnits
' attribute was set.
- Returns
- true if the '
pendingUnits
' attribute was set.
◆ has_total_slot_ms()
bool google_bigquery_api::QueryTimelineSample::has_total_slot_ms |
( |
| ) |
const |
|
inline |
Determine if the 'totalSlotMs
' attribute was set.
- Returns
- true if the '
totalSlotMs
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_active_units()
void google_bigquery_api::QueryTimelineSample::set_active_units |
( |
int64 |
value | ) |
|
|
inline |
Change the 'activeUnits
' attribute.
Total number of units currently being processed by workers. This does not correspond directly to slot usage. This is the largest value observed since the last sample.
- Parameters
-
◆ set_completed_units()
void google_bigquery_api::QueryTimelineSample::set_completed_units |
( |
int64 |
value | ) |
|
|
inline |
Change the 'completedUnits
' attribute.
Total parallel units of work completed by this query.
- Parameters
-
◆ set_elapsed_ms()
void google_bigquery_api::QueryTimelineSample::set_elapsed_ms |
( |
int64 |
value | ) |
|
|
inline |
Change the 'elapsedMs
' attribute.
Milliseconds elapsed since the start of query execution.
- Parameters
-
◆ set_pending_units()
void google_bigquery_api::QueryTimelineSample::set_pending_units |
( |
int64 |
value | ) |
|
|
inline |
Change the 'pendingUnits
' attribute.
Total parallel units of work remaining for the active stages.
- Parameters
-
◆ set_total_slot_ms()
void google_bigquery_api::QueryTimelineSample::set_total_slot_ms |
( |
int64 |
value | ) |
|
|
inline |
Change the 'totalSlotMs
' attribute.
Cumulative slot-ms consumed by the query.
- Parameters
-
The documentation for this class was generated from the following files: