View Source GoogleApi.Spanner.V1.Model.IndexAdvice (google_api_spanner v0.39.0)

Recommendation to add new indexes to run queries more efficiently.

Attributes

  • ddl (type: list(String.t), default: nil) - Optional. DDL statements to add new indexes that will improve the query.
  • improvementFactor (type: float(), default: nil) - Optional. Estimated latency improvement factor. For example if the query currently takes 500 ms to run and the estimated latency with new indexes is 100 ms this field will be 5.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Spanner.V1.Model.IndexAdvice{
  ddl: [String.t()] | nil,
  improvementFactor: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.