#include <materialized_view_definition.h>
◆ MaterializedViewDefinition() [1/2]
google_bigquery_api::MaterializedViewDefinition::MaterializedViewDefinition |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~MaterializedViewDefinition()
google_bigquery_api::MaterializedViewDefinition::~MaterializedViewDefinition |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ 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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files: