dataflow
v1b3
|
#include <distribution_update.h>
Public Member Functions | |
DistributionUpdate (const Json::Value &storage) | |
DistributionUpdate (Json::Value *storage) | |
virtual | ~DistributionUpdate () |
const StringPiece | GetTypeName () const |
bool | has_count () const |
void | clear_count () |
const SplitInt64 | get_count () const |
SplitInt64 | mutable_count () |
bool | has_histogram () const |
void | clear_histogram () |
const Histogram | get_histogram () const |
Histogram | mutable_histogram () |
bool | has_max () const |
void | clear_max () |
const SplitInt64 | get_max () const |
SplitInt64 | mutable_max () |
bool | has_min () const |
void | clear_min () |
const SplitInt64 | get_min () const |
SplitInt64 | mutable_min () |
bool | has_sum () const |
void | clear_sum () |
const SplitInt64 | get_sum () const |
SplitInt64 | mutable_sum () |
bool | has_sum_of_squares () const |
void | clear_sum_of_squares () |
double | get_sum_of_squares () const |
void | set_sum_of_squares (double value) |
Static Public Member Functions | |
static DistributionUpdate * | New () |
A metric value representing a distribution.
|
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 'count
' attribute.
|
inline |
Clears the 'histogram
' attribute.
|
inline |
Clears the 'max
' attribute.
|
inline |
Clears the 'min
' attribute.
|
inline |
Clears the 'sum
' attribute.
|
inline |
Clears the 'sumOfSquares
' attribute.
const SplitInt64 google_dataflow_api::DistributionUpdate::get_count | ( | ) | const |
Get a reference to the value of the 'count
' attribute.
const Histogram google_dataflow_api::DistributionUpdate::get_histogram | ( | ) | const |
Get a reference to the value of the 'histogram
' attribute.
const SplitInt64 google_dataflow_api::DistributionUpdate::get_max | ( | ) | const |
Get a reference to the value of the 'max
' attribute.
const SplitInt64 google_dataflow_api::DistributionUpdate::get_min | ( | ) | const |
Get a reference to the value of the 'min
' attribute.
const SplitInt64 google_dataflow_api::DistributionUpdate::get_sum | ( | ) | const |
Get a reference to the value of the 'sum
' attribute.
|
inline |
Get the value of the 'sumOfSquares
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'count
' attribute was set.
count
' attribute was set.
|
inline |
Determine if the 'histogram
' attribute was set.
histogram
' attribute was set.
|
inline |
Determine if the 'max
' attribute was set.
max
' attribute was set.
|
inline |
Determine if the 'min
' attribute was set.
min
' attribute was set.
|
inline |
Determine if the 'sum
' attribute was set.
sum
' attribute was set.
|
inline |
Determine if the 'sumOfSquares
' attribute was set.
sumOfSquares
' attribute was set. SplitInt64 google_dataflow_api::DistributionUpdate::mutable_count | ( | ) |
Gets a reference to a mutable value of the 'count
' property.
The count of the number of elements present in the distribution.
Histogram google_dataflow_api::DistributionUpdate::mutable_histogram | ( | ) |
Gets a reference to a mutable value of the 'histogram
' property.
(Optional) Histogram of value counts for the distribution.
SplitInt64 google_dataflow_api::DistributionUpdate::mutable_max | ( | ) |
Gets a reference to a mutable value of the 'max
' property.
The maximum value present in the distribution.
SplitInt64 google_dataflow_api::DistributionUpdate::mutable_min | ( | ) |
Gets a reference to a mutable value of the 'min
' property.
The minimum value present in the distribution.
SplitInt64 google_dataflow_api::DistributionUpdate::mutable_sum | ( | ) |
Gets a reference to a mutable value of the 'sum
' property.
Use an int64 since we'd prefer the added precision. If overflow is a common problem we can detect it and use an additional int64 or a double.
|
static |
Creates a new default instance.
|
inline |
Change the 'sumOfSquares
' attribute.
Use a double since the sum of squares is likely to overflow int64.
[in] | value | The new value. |