Class: Google::Cloud::Bigtable::Admin::V2::Type::Aggregate
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::Admin::V2::Type::Aggregate
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/bigtable/admin/v2/types.rb
Overview
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
.
Defined Under Namespace
Classes: Sum
Instance Attribute Summary collapse
-
#input_type ⇒ ::Google::Cloud::Bigtable::Admin::V2::Type
Type of the inputs that are accumulated by this
Aggregate
, which must specify a full encoding. -
#state_type ⇒ ::Google::Cloud::Bigtable::Admin::V2::Type
readonly
Output only.
-
#sum ⇒ ::Google::Cloud::Bigtable::Admin::V2::Type::Aggregate::Sum
Sum aggregator.
Instance Attribute Details
#input_type ⇒ ::Google::Cloud::Bigtable::Admin::V2::Type
Returns Type of the inputs that are accumulated by this Aggregate
, which must
specify a full encoding.
Use AddInput
mutations to accumulate new inputs.
148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'proto_docs/google/bigtable/admin/v2/types.rb', line 148 class Aggregate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Computes the sum of the input values. # Allowed input: `Int64` # State: same as input class Sum include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#state_type ⇒ ::Google::Cloud::Bigtable::Admin::V2::Type (readonly)
Returns 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.
148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'proto_docs/google/bigtable/admin/v2/types.rb', line 148 class Aggregate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Computes the sum of the input values. # Allowed input: `Int64` # State: same as input class Sum include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#sum ⇒ ::Google::Cloud::Bigtable::Admin::V2::Type::Aggregate::Sum
Returns Sum aggregator.
148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'proto_docs/google/bigtable/admin/v2/types.rb', line 148 class Aggregate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Computes the sum of the input values. # Allowed input: `Int64` # State: same as input class Sum include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |