Reference documentation and code samples for the Cloud Bigtable V2 Client class Aggregate.
A value that combines incremental updates into a summarized value.
Data is never directly written or read using type Aggregate
. Writes will
provide either the input_type
or state_type
, and reads will always
return the state_type
.
Generated from protobuf message google.bigtable.admin.v2.Type.Aggregate
Namespace
Google \ Cloud \ Bigtable \ Admin \ V2 \ TypeMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ input_type
Type
Type of the inputs that are accumulated by this Aggregate
, which must specify a full encoding. Use AddInput
mutations to accumulate new inputs.
↳ state_type
Type
Output only. Type that holds the internal accumulator state for the Aggregate
. This is a function of the input_type
and aggregator
chosen, and will always specify a full encoding.
↳ sum
↳ hllpp_unique_count
↳ max
↳ min
getInputType
Type of the inputs that are accumulated by this Aggregate
, which must
specify a full encoding.
Use AddInput
mutations to accumulate new inputs.
hasInputType
clearInputType
setInputType
Type of the inputs that are accumulated by this Aggregate
, which must
specify a full encoding.
Use AddInput
mutations to accumulate new inputs.
$this
getStateType
Output only. Type that holds the internal accumulator state for the Aggregate
. This is a function of the input_type
and aggregator
chosen, and will always specify a full encoding.
hasStateType
clearStateType
setStateType
Output only. Type that holds the internal accumulator state for the Aggregate
. This is a function of the input_type
and aggregator
chosen, and will always specify a full encoding.
$this
getSum
Sum aggregator.
hasSum
setSum
Sum aggregator.
$this
getHllppUniqueCount
HyperLogLogPlusPlusUniqueCount aggregator.
hasHllppUniqueCount
setHllppUniqueCount
HyperLogLogPlusPlusUniqueCount aggregator.
$this
getMax
Max aggregator.
hasMax
setMax
Max aggregator.
$this
getMin
Min aggregator.
hasMin
setMin
Min aggregator.
$this
getAggregator
string