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

#include <cluster_info.h>

Inheritance diagram for google_bigquery_api::ClusterInfo:

Public Member Functions

 ClusterInfo (const Json::Value &storage)
 
 ClusterInfo (Json::Value *storage)
 
virtual ~ClusterInfo ()
 
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_cluster_radius () const
 
void clear_cluster_radius ()
 
double get_cluster_radius () const
 
void set_cluster_radius (double value)
 
bool has_cluster_size () const
 
void clear_cluster_size ()
 
int64 get_cluster_size () const
 
void set_cluster_size (int64 value)
 

Static Public Member Functions

static ClusterInfoNew ()
 

Detailed Description

Information about a single cluster for clustering model.

Constructor & Destructor Documentation

◆ ClusterInfo() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ClusterInfo() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ClusterInfo()

google_bigquery_api::ClusterInfo::~ClusterInfo ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_centroid_id()

void google_bigquery_api::ClusterInfo::clear_centroid_id ( )
inline

Clears the 'centroidId' attribute.

◆ clear_cluster_radius()

void google_bigquery_api::ClusterInfo::clear_cluster_radius ( )
inline

Clears the 'clusterRadius' attribute.

◆ clear_cluster_size()

void google_bigquery_api::ClusterInfo::clear_cluster_size ( )
inline

Clears the 'clusterSize' attribute.

◆ get_centroid_id()

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

Get the value of the 'centroidId' attribute.

◆ get_cluster_radius()

double google_bigquery_api::ClusterInfo::get_cluster_radius ( ) const
inline

Get the value of the 'clusterRadius' attribute.

◆ get_cluster_size()

int64 google_bigquery_api::ClusterInfo::get_cluster_size ( ) const
inline

Get the value of the 'clusterSize' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::ClusterInfo

◆ has_centroid_id()

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

Determine if the 'centroidId' attribute was set.

Returns
true if the 'centroidId' attribute was set.

◆ has_cluster_radius()

bool google_bigquery_api::ClusterInfo::has_cluster_radius ( ) const
inline

Determine if the 'clusterRadius' attribute was set.

Returns
true if the 'clusterRadius' attribute was set.

◆ has_cluster_size()

bool google_bigquery_api::ClusterInfo::has_cluster_size ( ) const
inline

Determine if the 'clusterSize' attribute was set.

Returns
true if the 'clusterSize' attribute was set.

◆ New()

ClusterInfo * google_bigquery_api::ClusterInfo::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_centroid_id()

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

Change the 'centroidId' attribute.

Centroid id.

Parameters
[in]valueThe new value.

◆ set_cluster_radius()

void google_bigquery_api::ClusterInfo::set_cluster_radius ( double  value)
inline

Change the 'clusterRadius' attribute.

Cluster radius, the average distance from centroid to each point assigned to the cluster.

Parameters
[in]valueThe new value.

◆ set_cluster_size()

void google_bigquery_api::ClusterInfo::set_cluster_size ( int64  value)
inline

Change the 'clusterSize' attribute.

Cluster size, the total number of points assigned to the cluster.

Parameters
[in]valueThe new value.

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