GoogleApi.Spanner.V1.Model.PrefixNode (google_api_spanner v0.32.0) View Source

A message representing a key prefix node in the key prefix hierarchy. for eg. Bigtable keyspaces are lexicographically ordered mappings of keys to values. Keys often have a shared prefix structure where users use the keys to organize data. Eg ///employee In this case Keysight will possibly use one node for a company and reuse it for all employees that fall under the company. Doing so improves legibility in the UI.

Attributes

  • dataSourceNode (type: boolean(), default: nil) - Whether this corresponds to a data_source name.
  • depth (type: integer(), default: nil) - The depth in the prefix hierarchy.
  • endIndex (type: integer(), default: nil) - The index of the end key bucket of the range that this node spans.
  • startIndex (type: integer(), default: nil) - The index of the start key bucket of the range that this node spans.
  • word (type: String.t, default: nil) - The string represented by the prefix node.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Spanner.V1.Model.PrefixNode{
  dataSourceNode: boolean() | nil,
  depth: integer() | nil,
  endIndex: integer() | nil,
  startIndex: integer() | nil,
  word: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.