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

#include <materialized_view_definition.h>

Inheritance diagram for google_bigquery_api::MaterializedViewDefinition:

Public Member Functions

 MaterializedViewDefinition (const Json::Value &storage)
 
 MaterializedViewDefinition (Json::Value *storage)
 
virtual ~MaterializedViewDefinition ()
 
const StringPiece GetTypeName () const
 
bool has_enable_refresh () const
 
void clear_enable_refresh ()
 
bool get_enable_refresh () const
 
void set_enable_refresh (bool value)
 
bool has_last_refresh_time () const
 
void clear_last_refresh_time ()
 
int64 get_last_refresh_time () const
 
void set_last_refresh_time (int64 value)
 
bool has_query () const
 
void clear_query ()
 
const StringPiece get_query () const
 
void set_query (const StringPiece &value)
 
bool has_refresh_interval_ms () const
 
void clear_refresh_interval_ms ()
 
int64 get_refresh_interval_ms () const
 
void set_refresh_interval_ms (int64 value)
 

Static Public Member Functions

static MaterializedViewDefinitionNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ MaterializedViewDefinition() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ MaterializedViewDefinition() [2/2]

google_bigquery_api::MaterializedViewDefinition::MaterializedViewDefinition ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~MaterializedViewDefinition()

google_bigquery_api::MaterializedViewDefinition::~MaterializedViewDefinition ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_enable_refresh()

void google_bigquery_api::MaterializedViewDefinition::clear_enable_refresh ( )
inline

Clears the 'enableRefresh' attribute.

◆ clear_last_refresh_time()

void google_bigquery_api::MaterializedViewDefinition::clear_last_refresh_time ( )
inline

Clears the 'lastRefreshTime' attribute.

◆ clear_query()

void google_bigquery_api::MaterializedViewDefinition::clear_query ( )
inline

Clears the 'query' attribute.

◆ clear_refresh_interval_ms()

void google_bigquery_api::MaterializedViewDefinition::clear_refresh_interval_ms ( )
inline

Clears the 'refreshIntervalMs' attribute.

◆ get_enable_refresh()

bool google_bigquery_api::MaterializedViewDefinition::get_enable_refresh ( ) const
inline

Get the value of the 'enableRefresh' attribute.

◆ get_last_refresh_time()

int64 google_bigquery_api::MaterializedViewDefinition::get_last_refresh_time ( ) const
inline

Get the value of the 'lastRefreshTime' attribute.

◆ get_query()

const StringPiece google_bigquery_api::MaterializedViewDefinition::get_query ( ) const
inline

Get the value of the 'query' attribute.

◆ get_refresh_interval_ms()

int64 google_bigquery_api::MaterializedViewDefinition::get_refresh_interval_ms ( ) const
inline

Get the value of the 'refreshIntervalMs' attribute.

◆ GetTypeName()

const StringPiece google_bigquery_api::MaterializedViewDefinition::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::MaterializedViewDefinition

◆ has_enable_refresh()

bool google_bigquery_api::MaterializedViewDefinition::has_enable_refresh ( ) const
inline

Determine if the 'enableRefresh' attribute was set.

Returns
true if the 'enableRefresh' attribute was set.

◆ has_last_refresh_time()

bool google_bigquery_api::MaterializedViewDefinition::has_last_refresh_time ( ) const
inline

Determine if the 'lastRefreshTime' attribute was set.

Returns
true if the 'lastRefreshTime' attribute was set.

◆ has_query()

bool google_bigquery_api::MaterializedViewDefinition::has_query ( ) const
inline

Determine if the 'query' attribute was set.

Returns
true if the 'query' attribute was set.

◆ has_refresh_interval_ms()

bool google_bigquery_api::MaterializedViewDefinition::has_refresh_interval_ms ( ) const
inline

Determine if the 'refreshIntervalMs' attribute was set.

Returns
true if the 'refreshIntervalMs' attribute was set.

◆ New()

MaterializedViewDefinition * google_bigquery_api::MaterializedViewDefinition::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_enable_refresh()

void google_bigquery_api::MaterializedViewDefinition::set_enable_refresh ( bool  value)
inline

Change the 'enableRefresh' attribute.

[Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".

Parameters
[in]valueThe new value.

◆ set_last_refresh_time()

void google_bigquery_api::MaterializedViewDefinition::set_last_refresh_time ( int64  value)
inline

Change the 'lastRefreshTime' attribute.

[Output-only] [TrustedTester] The time when this materialized view was last modified, in milliseconds since the epoch.

Parameters
[in]valueThe new value.

◆ set_query()

void google_bigquery_api::MaterializedViewDefinition::set_query ( const StringPiece &  value)
inline

Change the 'query' attribute.

[Required] A query whose result is persisted.

Parameters
[in]valueThe new value.

◆ set_refresh_interval_ms()

void google_bigquery_api::MaterializedViewDefinition::set_refresh_interval_ms ( int64  value)
inline

Change the 'refreshIntervalMs' attribute.

[Optional] [TrustedTester] The maximum frequency at which this materialized view will be refreshed. The default value is "1800000" (30 minutes).

Parameters
[in]valueThe new value.

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