Reference documentation and code samples for the Cloud Bigtable Admin V2 API class Google::Cloud::Bigtable::Admin::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
#input_type
def input_type() -> ::Google::Cloud::Bigtable::Admin::V2::Type
Returns
-
(::Google::Cloud::Bigtable::Admin::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::Admin::V2::Type
Parameter
-
value (::Google::Cloud::Bigtable::Admin::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::Admin::V2::Type) — Type of the inputs that are accumulated by this
Aggregate
, which must specify a full encoding. UseAddInput
mutations to accumulate new inputs.
#state_type
def state_type() -> ::Google::Cloud::Bigtable::Admin::V2::Type
Returns
-
(::Google::Cloud::Bigtable::Admin::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::Admin::V2::Type::Aggregate::Sum
Returns
- (::Google::Cloud::Bigtable::Admin::V2::Type::Aggregate::Sum) — Sum aggregator.
#sum=
def sum=(value) -> ::Google::Cloud::Bigtable::Admin::V2::Type::Aggregate::Sum
Parameter
- value (::Google::Cloud::Bigtable::Admin::V2::Type::Aggregate::Sum) — Sum aggregator.
Returns
- (::Google::Cloud::Bigtable::Admin::V2::Type::Aggregate::Sum) — Sum aggregator.