Google Cloud Spanner v1 API - Class QueryAdvisorResult.Types.IndexAdvice (5.10.0)

public sealed class QueryAdvisorResult.Types.IndexAdvice : IMessage<QueryAdvisorResult.Types.IndexAdvice>, IEquatable<QueryAdvisorResult.Types.IndexAdvice>, IDeepCloneable<QueryAdvisorResult.Types.IndexAdvice>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Spanner v1 API class QueryAdvisorResult.Types.IndexAdvice.

Recommendation to add new indexes to run queries more efficiently.

Inheritance

object > QueryAdvisorResult.Types.IndexAdvice

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

IndexAdvice()

public IndexAdvice()

IndexAdvice(IndexAdvice)

public IndexAdvice(QueryAdvisorResult.Types.IndexAdvice other)
Parameter
Name Description
other QueryAdvisorResultTypesIndexAdvice

Properties

Ddl

public RepeatedField<string> Ddl { get; }

Optional. DDL statements to add new indexes that will improve the query.

Property Value
Type Description
RepeatedFieldstring

ImprovementFactor

public double ImprovementFactor { get; set; }

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.

Property Value
Type Description
double