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

#include <argument.h>

Inheritance diagram for google_bigquery_api::Argument:

Public Member Functions

 Argument (const Json::Value &storage)
 
 Argument (Json::Value *storage)
 
virtual ~Argument ()
 
const StringPiece GetTypeName () const
 
bool has_argument_kind () const
 
void clear_argument_kind ()
 
const StringPiece get_argument_kind () const
 
void set_argument_kind (const StringPiece &value)
 
bool has_data_type () const
 
void clear_data_type ()
 
const StandardSqlDataType get_data_type () const
 
StandardSqlDataType mutable_dataType ()
 
bool has_mode () const
 
void clear_mode ()
 
const StringPiece get_mode () const
 
void set_mode (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 

Static Public Member Functions

static ArgumentNew ()
 

Detailed Description

Input/output argument of a function or a stored procedure.

Constructor & Destructor Documentation

◆ Argument() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Argument() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Argument()

google_bigquery_api::Argument::~Argument ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_argument_kind()

void google_bigquery_api::Argument::clear_argument_kind ( )
inline

Clears the 'argumentKind' attribute.

◆ clear_data_type()

void google_bigquery_api::Argument::clear_data_type ( )
inline

Clears the 'dataType' attribute.

◆ clear_mode()

void google_bigquery_api::Argument::clear_mode ( )
inline

Clears the 'mode' attribute.

◆ clear_name()

void google_bigquery_api::Argument::clear_name ( )
inline

Clears the 'name' attribute.

◆ get_argument_kind()

const StringPiece google_bigquery_api::Argument::get_argument_kind ( ) const
inline

Get the value of the 'argumentKind' attribute.

◆ get_data_type()

const StandardSqlDataType google_bigquery_api::Argument::get_data_type ( ) const

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

◆ get_mode()

const StringPiece google_bigquery_api::Argument::get_mode ( ) const
inline

Get the value of the 'mode' attribute.

◆ get_name()

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

Get the value of the 'name' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::Argument

◆ has_argument_kind()

bool google_bigquery_api::Argument::has_argument_kind ( ) const
inline

Determine if the 'argumentKind' attribute was set.

Returns
true if the 'argumentKind' attribute was set.

◆ has_data_type()

bool google_bigquery_api::Argument::has_data_type ( ) const
inline

Determine if the 'dataType' attribute was set.

Returns
true if the 'dataType' attribute was set.

◆ has_mode()

bool google_bigquery_api::Argument::has_mode ( ) const
inline

Determine if the 'mode' attribute was set.

Returns
true if the 'mode' attribute was set.

◆ has_name()

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

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ mutable_dataType()

StandardSqlDataType google_bigquery_api::Argument::mutable_dataType ( )

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

Required unless argument_kind = ANY_TYPE.

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

◆ New()

Argument * google_bigquery_api::Argument::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_argument_kind()

void google_bigquery_api::Argument::set_argument_kind ( const StringPiece &  value)
inline

Change the 'argumentKind' attribute.

Optional. Defaults to FIXED_TYPE.

Parameters
[in]valueThe new value.

◆ set_mode()

void google_bigquery_api::Argument::set_mode ( const StringPiece &  value)
inline

Change the 'mode' attribute.

Optional. Specifies whether the argument is input or output. Can be set for procedures only.

Parameters
[in]valueThe new value.

◆ set_name()

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

Change the 'name' attribute.

Optional. The name of this argument. Can be absent for function return argument.

Parameters
[in]valueThe new value.

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