Class: Google::Cloud::Bigtable::V2::Type::Aggregate

Inherits:
Object
  • Object
show all
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 will provide either the input_type or state_type, and reads will always return the state_type .

Defined Under Namespace

Classes: HyperLogLogPlusPlusUniqueCount, Max, Min, Sum

Instance Attribute Summary collapse

Instance Attribute Details

#hllpp_unique_count::Google::Cloud::Bigtable::V2::Type::Aggregate::HyperLogLogPlusPlusUniqueCount

Returns HyperLogLogPlusPlusUniqueCount aggregator.

Returns:



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
# File 'proto_docs/google/bigtable/v2/types.rb', line 309

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, 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.



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
# File 'proto_docs/google/bigtable/v2/types.rb', line 309

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.



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
# File 'proto_docs/google/bigtable/v2/types.rb', line 309

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.



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
# File 'proto_docs/google/bigtable/v2/types.rb', line 309

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, and will always specify a full encoding.

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.



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
# File 'proto_docs/google/bigtable/v2/types.rb', line 309

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.



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
# File 'proto_docs/google/bigtable/v2/types.rb', line 309

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