Cloud Bigtable V2 API - Class Google::Cloud::Bigtable::V2::Type::Aggregate (v1.2.0)

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

#hllpp_unique_count=

def hllpp_unique_count=(value) -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::HyperLogLogPlusPlusUniqueCount
Parameter
Returns

#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. Use AddInput 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. Use AddInput 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. Use AddInput mutations to accumulate new inputs.

#max

def max() -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Max

#max=

def max=(value) -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Max
Parameter

#min

def min() -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Min

#min=

def min=(value) -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Min
Parameter

#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 the input_type and aggregator chosen, and will always specify a full encoding.

#sum

def sum() -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Sum

#sum=

def sum=(value) -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Sum
Parameter