Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::Type::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
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#hllpp_unique_count
def hllpp_unique_count() -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::HyperLogLogPlusPlusUniqueCount
Returns
- (::Google::Cloud::Bigtable::V2::Type::Aggregate::HyperLogLogPlusPlusUniqueCount) — HyperLogLogPlusPlusUniqueCount aggregator.
#hllpp_unique_count=
def hllpp_unique_count=(value) -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::HyperLogLogPlusPlusUniqueCount
Parameter
- value (::Google::Cloud::Bigtable::V2::Type::Aggregate::HyperLogLogPlusPlusUniqueCount) — HyperLogLogPlusPlusUniqueCount aggregator.
Returns
- (::Google::Cloud::Bigtable::V2::Type::Aggregate::HyperLogLogPlusPlusUniqueCount) — HyperLogLogPlusPlusUniqueCount aggregator.
#input_type
def input_type() -> ::Google::Cloud::Bigtable::V2::Type
Returns
-
(::Google::Cloud::Bigtable::V2::Type) — Type of the inputs that are accumulated by this
Aggregate
, which must specify a full encoding. UseAddInput
mutations to accumulate new inputs.
#input_type=
def input_type=(value) -> ::Google::Cloud::Bigtable::V2::Type
Parameter
-
value (::Google::Cloud::Bigtable::V2::Type) — Type of the inputs that are accumulated by this
Aggregate
, which must specify a full encoding. UseAddInput
mutations to accumulate new inputs.
Returns
-
(::Google::Cloud::Bigtable::V2::Type) — Type of the inputs that are accumulated by this
Aggregate
, which must specify a full encoding. UseAddInput
mutations to accumulate new inputs.
#max
def max() -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Max
Returns
- (::Google::Cloud::Bigtable::V2::Type::Aggregate::Max) — Max aggregator.
#max=
def max=(value) -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Max
Parameter
- value (::Google::Cloud::Bigtable::V2::Type::Aggregate::Max) — Max aggregator.
Returns
- (::Google::Cloud::Bigtable::V2::Type::Aggregate::Max) — Max aggregator.
#min
def min() -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Min
Returns
- (::Google::Cloud::Bigtable::V2::Type::Aggregate::Min) — Min aggregator.
#min=
def min=(value) -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Min
Parameter
- value (::Google::Cloud::Bigtable::V2::Type::Aggregate::Min) — Min aggregator.
Returns
- (::Google::Cloud::Bigtable::V2::Type::Aggregate::Min) — Min aggregator.
#state_type
def state_type() -> ::Google::Cloud::Bigtable::V2::Type
Returns
-
(::Google::Cloud::Bigtable::V2::Type) — Output only. Type that holds the internal accumulator state for the
Aggregate
. This is a function of theinput_type
andaggregator
chosen, and will always specify a full encoding.
#sum
def sum() -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Sum
Returns
- (::Google::Cloud::Bigtable::V2::Type::Aggregate::Sum) — Sum aggregator.
#sum=
def sum=(value) -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Sum
Parameter
- value (::Google::Cloud::Bigtable::V2::Type::Aggregate::Sum) — Sum aggregator.
Returns
- (::Google::Cloud::Bigtable::V2::Type::Aggregate::Sum) — Sum aggregator.