#include <cluster_info.h>
Information about a single cluster for clustering model.
◆ ClusterInfo() [1/2]
google_bigquery_api::ClusterInfo::ClusterInfo |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~ClusterInfo()
google_bigquery_api::ClusterInfo::~ClusterInfo |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files:
- google/bigquery_api/cluster_info.h
- google/bigquery_api/cluster_info.cc