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

#include <table_schema.h>

Inheritance diagram for google_bigquery_api::TableSchema:

Public Member Functions

 TableSchema (const Json::Value &storage)
 
 TableSchema (Json::Value *storage)
 
virtual ~TableSchema ()
 
const StringPiece GetTypeName () const
 
bool has_fields () const
 
void clear_fields ()
 
const client::JsonCppArray< TableFieldSchemaget_fields () const
 
client::JsonCppArray< TableFieldSchemamutable_fields ()
 

Static Public Member Functions

static TableSchemaNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ TableSchema() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ TableSchema() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~TableSchema()

google_bigquery_api::TableSchema::~TableSchema ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_fields()

void google_bigquery_api::TableSchema::clear_fields ( )
inline

Clears the 'fields' attribute.

◆ get_fields()

const client::JsonCppArray<TableFieldSchema > google_bigquery_api::TableSchema::get_fields ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::TableSchema

◆ has_fields()

bool google_bigquery_api::TableSchema::has_fields ( ) const
inline

Determine if the 'fields' attribute was set.

Returns
true if the 'fields' attribute was set.

◆ mutable_fields()

client::JsonCppArray<TableFieldSchema > google_bigquery_api::TableSchema::mutable_fields ( )

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

Describes the fields in a table.

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

◆ New()

TableSchema * google_bigquery_api::TableSchema::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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