bigquery
v2
|
#include <categorical_value.h>
Public Member Functions | |
CategoricalValue (const Json::Value &storage) | |
CategoricalValue (Json::Value *storage) | |
virtual | ~CategoricalValue () |
const StringPiece | GetTypeName () const |
bool | has_category_counts () const |
void | clear_category_counts () |
const client::JsonCppArray< CategoryCount > | get_category_counts () const |
client::JsonCppArray< CategoryCount > | mutable_categoryCounts () |
Static Public Member Functions | |
static CategoricalValue * | New () |
Representative value of a categorical feature.
|
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 'categoryCounts
' attribute.
const client::JsonCppArray<CategoryCount > google_bigquery_api::CategoricalValue::get_category_counts | ( | ) | const |
Get a reference to the value of the 'categoryCounts
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'categoryCounts
' attribute was set.
categoryCounts
' attribute was set. client::JsonCppArray<CategoryCount > google_bigquery_api::CategoricalValue::mutable_categoryCounts | ( | ) |
Gets a reference to a mutable value of the 'categoryCounts
' property.
Counts of all categories for the categorical feature. If there are more than ten categories, we return top ten (by count) and return one more CategoryCount with category "_OTHER_" and count as aggregate counts of remaining categories.
|
static |
Creates a new default instance.