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

#include <cluster.h>

Inheritance diagram for google_bigquery_api::Cluster:

Public Member Functions

 Cluster (const Json::Value &storage)
 
 Cluster (Json::Value *storage)
 
virtual ~Cluster ()
 
const StringPiece GetTypeName () const
 
bool has_centroid_id () const
 
void clear_centroid_id ()
 
int64 get_centroid_id () const
 
void set_centroid_id (int64 value)
 
bool has_count () const
 
void clear_count ()
 
int64 get_count () const
 
void set_count (int64 value)
 
bool has_feature_values () const
 
void clear_feature_values ()
 
const client::JsonCppArray< FeatureValueget_feature_values () const
 
client::JsonCppArray< FeatureValuemutable_featureValues ()
 

Static Public Member Functions

static ClusterNew ()
 

Detailed Description

Message containing the information about one cluster.

Constructor & Destructor Documentation

◆ Cluster() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Cluster() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Cluster()

google_bigquery_api::Cluster::~Cluster ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_centroid_id()

void google_bigquery_api::Cluster::clear_centroid_id ( )
inline

Clears the 'centroidId' attribute.

◆ clear_count()

void google_bigquery_api::Cluster::clear_count ( )
inline

Clears the 'count' attribute.

◆ clear_feature_values()

void google_bigquery_api::Cluster::clear_feature_values ( )
inline

Clears the 'featureValues' attribute.

◆ get_centroid_id()

int64 google_bigquery_api::Cluster::get_centroid_id ( ) const
inline

Get the value of the 'centroidId' attribute.

◆ get_count()

int64 google_bigquery_api::Cluster::get_count ( ) const
inline

Get the value of the 'count' attribute.

◆ get_feature_values()

const client::JsonCppArray<FeatureValue > google_bigquery_api::Cluster::get_feature_values ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::Cluster

◆ has_centroid_id()

bool google_bigquery_api::Cluster::has_centroid_id ( ) const
inline

Determine if the 'centroidId' attribute was set.

Returns
true if the 'centroidId' attribute was set.

◆ has_count()

bool google_bigquery_api::Cluster::has_count ( ) const
inline

Determine if the 'count' attribute was set.

Returns
true if the 'count' attribute was set.

◆ has_feature_values()

bool google_bigquery_api::Cluster::has_feature_values ( ) const
inline

Determine if the 'featureValues' attribute was set.

Returns
true if the 'featureValues' attribute was set.

◆ mutable_featureValues()

client::JsonCppArray<FeatureValue > google_bigquery_api::Cluster::mutable_featureValues ( )

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

Values of highly variant features for this cluster.

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

◆ New()

Cluster * google_bigquery_api::Cluster::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_centroid_id()

void google_bigquery_api::Cluster::set_centroid_id ( int64  value)
inline

Change the 'centroidId' attribute.

Centroid id.

Parameters
[in]valueThe new value.

◆ set_count()

void google_bigquery_api::Cluster::set_count ( int64  value)
inline

Change the 'count' attribute.

Count of training data rows that were assigned to this cluster.

Parameters
[in]valueThe new value.

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