Interface QueryAdvisorResult.IndexAdviceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
QueryAdvisorResult.IndexAdvice, QueryAdvisorResult.IndexAdvice.Builder
Enclosing class:
QueryAdvisorResult

public static interface QueryAdvisorResult.IndexAdviceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getDdl(int index)
    Optional.
    com.google.protobuf.ByteString
    getDdlBytes(int index)
    Optional.
    int
    Optional.
    Optional.
    double
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDdlList

      List<String> getDdlList()
       Optional. DDL statements to add new indexes that will improve the query.
       
      repeated string ddl = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the ddl.
    • getDdlCount

      int getDdlCount()
       Optional. DDL statements to add new indexes that will improve the query.
       
      repeated string ddl = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of ddl.
    • getDdl

      String getDdl(int index)
       Optional. DDL statements to add new indexes that will improve the query.
       
      repeated string ddl = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The ddl at the given index.
    • getDdlBytes

      com.google.protobuf.ByteString getDdlBytes(int index)
       Optional. DDL statements to add new indexes that will improve the query.
       
      repeated string ddl = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ddl at the given index.
    • getImprovementFactor

      double getImprovementFactor()
       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.
       
      double improvement_factor = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The improvementFactor.