View Source GoogleApi.DataMigration.V1.Model.IndexEntity (google_api_data_migration v0.21.0)

Index is not used as an independent entity, it is retrieved as part of a Table entity.

Attributes

  • customFeatures (type: map(), default: nil) - Custom engine specific features.
  • name (type: String.t, default: nil) - The name of the index.
  • tableColumns (type: list(String.t), default: nil) - Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.
  • tableColumnsDescending (type: list(boolean()), default: nil) - For each table_column, mark whether it's sorting order is ascending (false) or descending (true). If no value is defined, assume all columns are sorted in ascending order. Otherwise, the number of items must match that of table_columns with each value specifying the direction of the matched column by its index.
  • type (type: String.t, default: nil) - Type of index, for example B-TREE.
  • unique (type: boolean(), default: nil) - Boolean value indicating whether the index is unique.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DataMigration.V1.Model.IndexEntity{
  customFeatures: map() | nil,
  name: String.t() | nil,
  tableColumns: [String.t()] | nil,
  tableColumnsDescending: [boolean()] | nil,
  type: String.t() | nil,
  unique: boolean() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.