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

#include <standard_sql_field.h>

Inheritance diagram for google_bigquery_api::StandardSqlField:

Public Member Functions

 StandardSqlField (const Json::Value &storage)
 
 StandardSqlField (Json::Value *storage)
 
virtual ~StandardSqlField ()
 
const StringPiece GetTypeName () const
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StandardSqlDataType get_type () const
 
StandardSqlDataType mutable_type ()
 

Static Public Member Functions

static StandardSqlFieldNew ()
 

Detailed Description

A field or a column.

Constructor & Destructor Documentation

◆ StandardSqlField() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ StandardSqlField() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~StandardSqlField()

google_bigquery_api::StandardSqlField::~StandardSqlField ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_name()

void google_bigquery_api::StandardSqlField::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_type()

void google_bigquery_api::StandardSqlField::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_name()

const StringPiece google_bigquery_api::StandardSqlField::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_type()

const StandardSqlDataType google_bigquery_api::StandardSqlField::get_type ( ) const

Get a reference to the value of the 'type' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::StandardSqlField

◆ has_name()

bool google_bigquery_api::StandardSqlField::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_type()

bool google_bigquery_api::StandardSqlField::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ mutable_type()

StandardSqlDataType google_bigquery_api::StandardSqlField::mutable_type ( )

Gets a reference to a mutable value of the 'type' property.

Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).

Returns
The result can be modified to change the attribute value.

◆ New()

StandardSqlField * google_bigquery_api::StandardSqlField::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_name()

void google_bigquery_api::StandardSqlField::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

Optional. The name of this field. Can be absent for struct fields.

Parameters
[in]valueThe new value.

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