Class: Google::Cloud::Bigtable::V2::Type::Aggregate
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::V2::Type::Aggregate
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/bigtable/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
provide either the input_type or state_type, and reads always return
the state_type .
Defined Under Namespace
Classes: HyperLogLogPlusPlusUniqueCount, Max, Min, Sum
Instance Attribute Summary collapse
-
#hllpp_unique_count ⇒ ::Google::Cloud::Bigtable::V2::Type::Aggregate::HyperLogLogPlusPlusUniqueCount
HyperLogLogPlusPlusUniqueCount aggregator.
-
#input_type ⇒ ::Google::Cloud::Bigtable::V2::Type
Type of the inputs that are accumulated by this
Aggregate. -
#max ⇒ ::Google::Cloud::Bigtable::V2::Type::Aggregate::Max
Max aggregator.
-
#min ⇒ ::Google::Cloud::Bigtable::V2::Type::Aggregate::Min
Min aggregator.
-
#state_type ⇒ ::Google::Cloud::Bigtable::V2::Type
readonly
Output only.
-
#sum ⇒ ::Google::Cloud::Bigtable::V2::Type::Aggregate::Sum
Sum aggregator.
Instance Attribute Details
#hllpp_unique_count ⇒ ::Google::Cloud::Bigtable::V2::Type::Aggregate::HyperLogLogPlusPlusUniqueCount
Returns HyperLogLogPlusPlusUniqueCount aggregator.
Note: The following fields are mutually exclusive: hllpp_unique_count, sum, max, min. If a field in that set is populated, all other fields in the set will automatically be cleared.
549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 |
# File 'proto_docs/google/bigtable/v2/types.rb', line 549 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 # Computes the max of the input values. # Allowed input: `Int64` # State: same as input class Max include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Computes the min of the input values. # Allowed input: `Int64` # State: same as input class Min include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Computes an approximate unique count over the input values. When using # raw data as input, be careful to use a consistent encoding. Otherwise # the same value encoded differently could count more than once, or two # distinct values could count as identical. # Input: Any, or omit for Raw # State: TBD # Special state conversions: `Int64` (the unique count estimate) class HyperLogLogPlusPlusUniqueCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#input_type ⇒ ::Google::Cloud::Bigtable::V2::Type
Returns Type of the inputs that are accumulated by this Aggregate.
Use AddInput mutations to accumulate new inputs.
549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 |
# File 'proto_docs/google/bigtable/v2/types.rb', line 549 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 # Computes the max of the input values. # Allowed input: `Int64` # State: same as input class Max include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Computes the min of the input values. # Allowed input: `Int64` # State: same as input class Min include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Computes an approximate unique count over the input values. When using # raw data as input, be careful to use a consistent encoding. Otherwise # the same value encoded differently could count more than once, or two # distinct values could count as identical. # Input: Any, or omit for Raw # State: TBD # Special state conversions: `Int64` (the unique count estimate) class HyperLogLogPlusPlusUniqueCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#max ⇒ ::Google::Cloud::Bigtable::V2::Type::Aggregate::Max
Returns 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.
549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 |
# File 'proto_docs/google/bigtable/v2/types.rb', line 549 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 # Computes the max of the input values. # Allowed input: `Int64` # State: same as input class Max include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Computes the min of the input values. # Allowed input: `Int64` # State: same as input class Min include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Computes an approximate unique count over the input values. When using # raw data as input, be careful to use a consistent encoding. Otherwise # the same value encoded differently could count more than once, or two # distinct values could count as identical. # Input: Any, or omit for Raw # State: TBD # Special state conversions: `Int64` (the unique count estimate) class HyperLogLogPlusPlusUniqueCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#min ⇒ ::Google::Cloud::Bigtable::V2::Type::Aggregate::Min
Returns 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.
549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 |
# File 'proto_docs/google/bigtable/v2/types.rb', line 549 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 # Computes the max of the input values. # Allowed input: `Int64` # State: same as input class Max include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Computes the min of the input values. # Allowed input: `Int64` # State: same as input class Min include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Computes an approximate unique count over the input values. When using # raw data as input, be careful to use a consistent encoding. Otherwise # the same value encoded differently could count more than once, or two # distinct values could count as identical. # Input: Any, or omit for Raw # State: TBD # Special state conversions: `Int64` (the unique count estimate) class HyperLogLogPlusPlusUniqueCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#state_type ⇒ ::Google::Cloud::Bigtable::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.
549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 |
# File 'proto_docs/google/bigtable/v2/types.rb', line 549 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 # Computes the max of the input values. # Allowed input: `Int64` # State: same as input class Max include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Computes the min of the input values. # Allowed input: `Int64` # State: same as input class Min include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Computes an approximate unique count over the input values. When using # raw data as input, be careful to use a consistent encoding. Otherwise # the same value encoded differently could count more than once, or two # distinct values could count as identical. # Input: Any, or omit for Raw # State: TBD # Special state conversions: `Int64` (the unique count estimate) class HyperLogLogPlusPlusUniqueCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#sum ⇒ ::Google::Cloud::Bigtable::V2::Type::Aggregate::Sum
Returns 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.
549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 |
# File 'proto_docs/google/bigtable/v2/types.rb', line 549 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 # Computes the max of the input values. # Allowed input: `Int64` # State: same as input class Max include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Computes the min of the input values. # Allowed input: `Int64` # State: same as input class Min include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Computes an approximate unique count over the input values. When using # raw data as input, be careful to use a consistent encoding. Otherwise # the same value encoded differently could count more than once, or two # distinct values could count as identical. # Input: Any, or omit for Raw # State: TBD # Special state conversions: `Int64` (the unique count estimate) class HyperLogLogPlusPlusUniqueCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |