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

#include <bigtable_column.h>

Inheritance diagram for google_bigquery_api::BigtableColumn:

Public Member Functions

 BigtableColumn (const Json::Value &storage)
 
 BigtableColumn (Json::Value *storage)
 
virtual ~BigtableColumn ()
 
const StringPiece GetTypeName () const
 
bool has_encoding () const
 
void clear_encoding ()
 
const StringPiece get_encoding () const
 
void set_encoding (const StringPiece &value)
 
bool has_field_name () const
 
void clear_field_name ()
 
const StringPiece get_field_name () const
 
void set_field_name (const StringPiece &value)
 
bool has_only_read_latest () const
 
void clear_only_read_latest ()
 
bool get_only_read_latest () const
 
void set_only_read_latest (bool value)
 
bool has_qualifier_encoded () const
 
void clear_qualifier_encoded ()
 
const StringPiece get_qualifier_encoded () const
 
void set_qualifier_encoded (const StringPiece &value)
 
bool has_qualifier_string () const
 
void clear_qualifier_string ()
 
const StringPiece get_qualifier_string () const
 
void set_qualifier_string (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static BigtableColumnNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ BigtableColumn() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ BigtableColumn() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~BigtableColumn()

google_bigquery_api::BigtableColumn::~BigtableColumn ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_encoding()

void google_bigquery_api::BigtableColumn::clear_encoding ( )
inline

Clears the 'encoding' attribute.

◆ clear_field_name()

void google_bigquery_api::BigtableColumn::clear_field_name ( )
inline

Clears the 'fieldName' attribute.

◆ clear_only_read_latest()

void google_bigquery_api::BigtableColumn::clear_only_read_latest ( )
inline

Clears the 'onlyReadLatest' attribute.

◆ clear_qualifier_encoded()

void google_bigquery_api::BigtableColumn::clear_qualifier_encoded ( )
inline

Clears the 'qualifierEncoded' attribute.

◆ clear_qualifier_string()

void google_bigquery_api::BigtableColumn::clear_qualifier_string ( )
inline

Clears the 'qualifierString' attribute.

◆ clear_type()

void google_bigquery_api::BigtableColumn::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_encoding()

const StringPiece google_bigquery_api::BigtableColumn::get_encoding ( ) const
inline

Get the value of the 'encoding' attribute.

◆ get_field_name()

const StringPiece google_bigquery_api::BigtableColumn::get_field_name ( ) const
inline

Get the value of the 'fieldName' attribute.

◆ get_only_read_latest()

bool google_bigquery_api::BigtableColumn::get_only_read_latest ( ) const
inline

Get the value of the 'onlyReadLatest' attribute.

◆ get_qualifier_encoded()

const StringPiece google_bigquery_api::BigtableColumn::get_qualifier_encoded ( ) const
inline

Get the value of the 'qualifierEncoded' attribute.

◆ get_qualifier_string()

const StringPiece google_bigquery_api::BigtableColumn::get_qualifier_string ( ) const
inline

Get the value of the 'qualifierString' attribute.

◆ get_type()

const StringPiece google_bigquery_api::BigtableColumn::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::BigtableColumn

◆ has_encoding()

bool google_bigquery_api::BigtableColumn::has_encoding ( ) const
inline

Determine if the 'encoding' attribute was set.

Returns
true if the 'encoding' attribute was set.

◆ has_field_name()

bool google_bigquery_api::BigtableColumn::has_field_name ( ) const
inline

Determine if the 'fieldName' attribute was set.

Returns
true if the 'fieldName' attribute was set.

◆ has_only_read_latest()

bool google_bigquery_api::BigtableColumn::has_only_read_latest ( ) const
inline

Determine if the 'onlyReadLatest' attribute was set.

Returns
true if the 'onlyReadLatest' attribute was set.

◆ has_qualifier_encoded()

bool google_bigquery_api::BigtableColumn::has_qualifier_encoded ( ) const
inline

Determine if the 'qualifierEncoded' attribute was set.

Returns
true if the 'qualifierEncoded' attribute was set.

◆ has_qualifier_string()

bool google_bigquery_api::BigtableColumn::has_qualifier_string ( ) const
inline

Determine if the 'qualifierString' attribute was set.

Returns
true if the 'qualifierString' attribute was set.

◆ has_type()

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

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ New()

BigtableColumn * google_bigquery_api::BigtableColumn::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_encoding()

void google_bigquery_api::BigtableColumn::set_encoding ( const StringPiece &  value)
inline

Change the 'encoding' attribute.

[Optional] The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. 'encoding' can also be set at the column family level. However, the setting at this level takes precedence if 'encoding' is set at both levels.

Parameters
[in]valueThe new value.

◆ set_field_name()

void google_bigquery_api::BigtableColumn::set_field_name ( const StringPiece &  value)
inline

Change the 'fieldName' attribute.

[Optional] If the qualifier is not a valid BigQuery field identifier i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, a valid identifier must be provided as the column field name and is used as field name in queries.

Parameters
[in]valueThe new value.

◆ set_only_read_latest()

void google_bigquery_api::BigtableColumn::set_only_read_latest ( bool  value)
inline

Change the 'onlyReadLatest' attribute.

[Optional] If this is set, only the latest version of value in this column are exposed. 'onlyReadLatest' can also be set at the column family level. However, the setting at this level takes precedence if 'onlyReadLatest' is set at both levels.

Parameters
[in]valueThe new value.

◆ set_qualifier_encoded()

void google_bigquery_api::BigtableColumn::set_qualifier_encoded ( const StringPiece &  value)
inline

Change the 'qualifierEncoded' attribute.

[Required] Qualifier of the column. Columns in the parent column family that has this exact qualifier are exposed as . field. If the qualifier is valid UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a base-64 encoded value must be set to qualifier_encoded. The column field name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, a valid identifier must be provided as field_name.

Parameters
[in]valueThe new value.

◆ set_qualifier_string()

void google_bigquery_api::BigtableColumn::set_qualifier_string ( const StringPiece &  value)
inline

Change the 'qualifierString' attribute.

Parameters
[in]valueThe new value.

◆ set_type()

void google_bigquery_api::BigtableColumn::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

[Optional] The type to convert the value in cells of this column. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Default type is BYTES. 'type' can also be set at the column family level. However, the setting at this level takes precedence if 'type' is set at both levels.

Parameters
[in]valueThe new value.

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