Cloud Bigtable V2 API - Class Google::Cloud::Bigtable::V2::Type::Aggregate (v1.5.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
Returns
  • (::Google::Cloud::Bigtable::V2::Type::Aggregate::Max) — Max aggregator.

    Note: The following fields are mutually exclusive: max, sum, hllpp_unique_count, min. If a field in that set is populated, all other fields in the set will automatically be cleared.

#max=

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

    Note: The following fields are mutually exclusive: max, sum, hllpp_unique_count, min. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Bigtable::V2::Type::Aggregate::Max) — Max aggregator.

    Note: The following fields are mutually exclusive: max, sum, hllpp_unique_count, min. If a field in that set is populated, all other fields in the set will automatically be cleared.

#min

def min() -> ::Google::Cloud::Bigtable::V2::Type::Aggregate::Min
Returns
  • (::Google::Cloud::Bigtable::V2::Type::Aggregate::Min) — Min aggregator.

    Note: The following fields are mutually exclusive: min, sum, hllpp_unique_count, max. If a field in that set is populated, all other fields in the set will automatically be cleared.

#min=

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

    Note: The following fields are mutually exclusive: min, sum, hllpp_unique_count, max. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Bigtable::V2::Type::Aggregate::Min) — Min aggregator.

    Note: The following fields are mutually exclusive: min, sum, hllpp_unique_count, max. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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
Returns
  • (::Google::Cloud::Bigtable::V2::Type::Aggregate::Sum) — Sum aggregator.

    Note: The following fields are mutually exclusive: sum, hllpp_unique_count, max, min. If a field in that set is populated, all other fields in the set will automatically be cleared.

#sum=

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

    Note: The following fields are mutually exclusive: sum, hllpp_unique_count, max, min. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Bigtable::V2::Type::Aggregate::Sum) — Sum aggregator.

    Note: The following fields are mutually exclusive: sum, hllpp_unique_count, max, min. If a field in that set is populated, all other fields in the set will automatically be cleared.