class Google::Apis::SpannerV1::IndexedHotKey

A message representing a (sparse) collection of hot keys for specific key buckets.

Attributes

sparse_hot_keys[RW]

A (sparse) mapping from key bucket index to the index of the specific hot row key for that key bucket. The index of the hot row key can be translated to the actual row key via the ScanData.VisualizationData.indexed_keys repeated field. Corresponds to the JSON property `sparseHotKeys` @return [Hash<String,Fixnum>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 1596
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/spanner_v1/classes.rb, line 1601
def update!(**args)
  @sparse_hot_keys = args[:sparse_hot_keys] if args.key?(:sparse_hot_keys)
end