bigquery
v2
|
#include <feature_value.h>
Public Member Functions | |
FeatureValue (const Json::Value &storage) | |
FeatureValue (Json::Value *storage) | |
virtual | ~FeatureValue () |
const StringPiece | GetTypeName () const |
bool | has_categorical_value () const |
void | clear_categorical_value () |
const CategoricalValue | get_categorical_value () const |
CategoricalValue | mutable_categoricalValue () |
bool | has_feature_column () const |
void | clear_feature_column () |
const StringPiece | get_feature_column () const |
void | set_feature_column (const StringPiece &value) |
bool | has_numerical_value () const |
void | clear_numerical_value () |
double | get_numerical_value () const |
void | set_numerical_value (double value) |
Static Public Member Functions | |
static FeatureValue * | New () |
Representative value of a single feature within the cluster.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'categoricalValue
' attribute.
|
inline |
Clears the 'featureColumn
' attribute.
|
inline |
Clears the 'numericalValue
' attribute.
const CategoricalValue google_bigquery_api::FeatureValue::get_categorical_value | ( | ) | const |
Get a reference to the value of the 'categoricalValue
' attribute.
|
inline |
Get the value of the 'featureColumn
' attribute.
|
inline |
Get the value of the 'numericalValue
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'categoricalValue
' attribute was set.
categoricalValue
' attribute was set.
|
inline |
Determine if the 'featureColumn
' attribute was set.
featureColumn
' attribute was set.
|
inline |
Determine if the 'numericalValue
' attribute was set.
numericalValue
' attribute was set. CategoricalValue google_bigquery_api::FeatureValue::mutable_categoricalValue | ( | ) |
Gets a reference to a mutable value of the 'categoricalValue
' property.
The categorical feature value.
|
static |
Creates a new default instance.
|
inline |
Change the 'featureColumn
' attribute.
The feature column name.
[in] | value | The new value. |
|
inline |
Change the 'numericalValue
' attribute.
The numerical feature value. This is the centroid value for this feature.
[in] | value | The new value. |