Aggregate(mapping=None, *, ignore_unknown_fields=False, **kwargs)
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
.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
input_type |
google.cloud.bigtable_admin_v2.types.Type
Type of the inputs that are accumulated by this Aggregate , which must specify a full encoding. Use
AddInput mutations to accumulate new inputs.
|
state_type |
google.cloud.bigtable_admin_v2.types.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 |
google.cloud.bigtable_admin_v2.types.Type.Aggregate.Sum
Sum aggregator. This field is a member of oneof _ aggregator .
|
hllpp_unique_count |
google.cloud.bigtable_admin_v2.types.Type.Aggregate.HyperLogLogPlusPlusUniqueCount
HyperLogLogPlusPlusUniqueCount aggregator. This field is a member of oneof _ aggregator .
|
max_ |
google.cloud.bigtable_admin_v2.types.Type.Aggregate.Max
Max aggregator. This field is a member of oneof _ aggregator .
|
min_ |
google.cloud.bigtable_admin_v2.types.Type.Aggregate.Min
Min aggregator. This field is a member of oneof _ aggregator .
|
Classes
HyperLogLogPlusPlusUniqueCount
HyperLogLogPlusPlusUniqueCount(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
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)
Max
Max(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Computes the max of the input values. Allowed input: Int64
State: same as input
Min
Min(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Computes the min of the input values. Allowed input: Int64
State: same as input
Sum
Sum(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Computes the sum of the input values. Allowed input: Int64
State: same as input