bigquery  v2
Public Member Functions | Static Public Member Functions | List of all members
google_bigquery_api::QueryTimelineSample Class Reference

#include <query_timeline_sample.h>

Inheritance diagram for google_bigquery_api::QueryTimelineSample:

Public Member Functions

 QueryTimelineSample (const Json::Value &storage)
 
 QueryTimelineSample (Json::Value *storage)
 
virtual ~QueryTimelineSample ()
 
const StringPiece GetTypeName () const
 
bool has_active_units () const
 
void clear_active_units ()
 
int64 get_active_units () const
 
void set_active_units (int64 value)
 
bool has_completed_units () const
 
void clear_completed_units ()
 
int64 get_completed_units () const
 
void set_completed_units (int64 value)
 
bool has_elapsed_ms () const
 
void clear_elapsed_ms ()
 
int64 get_elapsed_ms () const
 
void set_elapsed_ms (int64 value)
 
bool has_pending_units () const
 
void clear_pending_units ()
 
int64 get_pending_units () const
 
void set_pending_units (int64 value)
 
bool has_total_slot_ms () const
 
void clear_total_slot_ms ()
 
int64 get_total_slot_ms () const
 
void set_total_slot_ms (int64 value)
 

Static Public Member Functions

static QueryTimelineSampleNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ QueryTimelineSample() [1/2]

google_bigquery_api::QueryTimelineSample::QueryTimelineSample ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~QueryTimelineSample()

google_bigquery_api::QueryTimelineSample::~QueryTimelineSample ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::QueryTimelineSample

◆ 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()

QueryTimelineSample * google_bigquery_api::QueryTimelineSample::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: