#include <view_definition.h>
◆ ViewDefinition() [1/2]
google_bigquery_api::ViewDefinition::ViewDefinition |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ViewDefinition() [2/2]
google_bigquery_api::ViewDefinition::ViewDefinition |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~ViewDefinition()
google_bigquery_api::ViewDefinition::~ViewDefinition |
( |
| ) |
|
|
virtual |
◆ clear_query()
void google_bigquery_api::ViewDefinition::clear_query |
( |
| ) |
|
|
inline |
Clears the 'query
' attribute.
◆ clear_use_legacy_sql()
void google_bigquery_api::ViewDefinition::clear_use_legacy_sql |
( |
| ) |
|
|
inline |
Clears the 'useLegacySql
' attribute.
◆ clear_user_defined_function_resources()
void google_bigquery_api::ViewDefinition::clear_user_defined_function_resources |
( |
| ) |
|
|
inline |
Clears the 'userDefinedFunctionResources
' attribute.
◆ get_query()
const StringPiece google_bigquery_api::ViewDefinition::get_query |
( |
| ) |
const |
|
inline |
Get the value of the 'query
' attribute.
◆ get_use_legacy_sql()
bool google_bigquery_api::ViewDefinition::get_use_legacy_sql |
( |
| ) |
const |
|
inline |
Get the value of the 'useLegacySql
' attribute.
◆ get_user_defined_function_resources()
const client::JsonCppArray<UserDefinedFunctionResource > google_bigquery_api::ViewDefinition::get_user_defined_function_resources |
( |
| ) |
const |
Get a reference to the value of the 'userDefinedFunctionResources
' attribute.
◆ GetTypeName()
const StringPiece google_bigquery_api::ViewDefinition::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_query()
bool google_bigquery_api::ViewDefinition::has_query |
( |
| ) |
const |
|
inline |
Determine if the 'query
' attribute was set.
- Returns
- true if the '
query
' attribute was set.
◆ has_use_legacy_sql()
bool google_bigquery_api::ViewDefinition::has_use_legacy_sql |
( |
| ) |
const |
|
inline |
Determine if the 'useLegacySql
' attribute was set.
- Returns
- true if the '
useLegacySql
' attribute was set.
◆ has_user_defined_function_resources()
bool google_bigquery_api::ViewDefinition::has_user_defined_function_resources |
( |
| ) |
const |
|
inline |
Determine if the 'userDefinedFunctionResources
' attribute was set.
- Returns
- true if the '
userDefinedFunctionResources
' attribute was set.
◆ mutable_userDefinedFunctionResources()
Gets a reference to a mutable value of the 'userDefinedFunctionResources
' property.
Describes user-defined function resources used in the query.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_query()
void google_bigquery_api::ViewDefinition::set_query |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'query
' attribute.
[Required] A query that BigQuery executes when the view is referenced.
- Parameters
-
◆ set_use_legacy_sql()
void google_bigquery_api::ViewDefinition::set_use_legacy_sql |
( |
bool |
value | ) |
|
|
inline |
Change the 'useLegacySql
' attribute.
Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.
- Parameters
-
The documentation for this class was generated from the following files: