public sealed class QueryAdvisorResult.Types.IndexAdvice : IMessage<QueryAdvisorResult.Types.IndexAdvice>, IEquatable<QueryAdvisorResult.Types.IndexAdvice>, IDeepCloneable<QueryAdvisorResult.Types.IndexAdvice>, IBufferMessage, IMessageReference 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.
Implements
IMessageQueryAdvisorResultTypesIndexAdvice, IEquatableQueryAdvisorResultTypesIndexAdvice, IDeepCloneableQueryAdvisorResultTypesIndexAdvice, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.V1Assembly
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 |
|