Interface IndexInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
IndexInfo, IndexInfo.Builder

@Generated public interface IndexInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getColumnNames(int index)
    Columns included in index
    com.google.protobuf.ByteString
    Columns included in index
    int
    Columns included in index
    Columns included in index
    Type of index (BTREE, HASH, etc.)
    com.google.protobuf.ByteString
    Type of index (BTREE, HASH, etc.)
    Index name
    com.google.protobuf.ByteString
    Index name
    boolean
    Whether this is the primary key index
    Table this index belongs to
    com.google.protobuf.ByteString
    Table this index belongs to
    boolean
    Whether index enforces uniqueness
    boolean
    Type of index (BTREE, HASH, etc.)
    boolean
    Index name
    boolean
    Whether this is the primary key index
    boolean
    Table this index belongs to
    boolean
    Whether index enforces uniqueness

    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

    • hasName

      boolean hasName()
       Index name
       
      optional string name = 1 [json_name = "name"];
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       Index name
       
      optional string name = 1 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Index name
       
      optional string name = 1 [json_name = "name"];
      Returns:
      The bytes for name.
    • hasTableName

      boolean hasTableName()
       Table this index belongs to
       
      optional string table_name = 2 [json_name = "tableName"];
      Returns:
      Whether the tableName field is set.
    • getTableName

      String getTableName()
       Table this index belongs to
       
      optional string table_name = 2 [json_name = "tableName"];
      Returns:
      The tableName.
    • getTableNameBytes

      com.google.protobuf.ByteString getTableNameBytes()
       Table this index belongs to
       
      optional string table_name = 2 [json_name = "tableName"];
      Returns:
      The bytes for tableName.
    • getColumnNamesList

      List<String> getColumnNamesList()
       Columns included in index
       
      repeated string column_names = 3 [json_name = "columnNames"];
      Returns:
      A list containing the columnNames.
    • getColumnNamesCount

      int getColumnNamesCount()
       Columns included in index
       
      repeated string column_names = 3 [json_name = "columnNames"];
      Returns:
      The count of columnNames.
    • getColumnNames

      String getColumnNames(int index)
       Columns included in index
       
      repeated string column_names = 3 [json_name = "columnNames"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The columnNames at the given index.
    • getColumnNamesBytes

      com.google.protobuf.ByteString getColumnNamesBytes(int index)
       Columns included in index
       
      repeated string column_names = 3 [json_name = "columnNames"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the columnNames at the given index.
    • hasUnique

      boolean hasUnique()
       Whether index enforces uniqueness
       
      optional bool unique = 4 [json_name = "unique"];
      Returns:
      Whether the unique field is set.
    • getUnique

      boolean getUnique()
       Whether index enforces uniqueness
       
      optional bool unique = 4 [json_name = "unique"];
      Returns:
      The unique.
    • hasPrimary

      boolean hasPrimary()
       Whether this is the primary key index
       
      optional bool primary = 5 [json_name = "primary"];
      Returns:
      Whether the primary field is set.
    • getPrimary

      boolean getPrimary()
       Whether this is the primary key index
       
      optional bool primary = 5 [json_name = "primary"];
      Returns:
      The primary.
    • hasIndexType

      boolean hasIndexType()
       Type of index (BTREE, HASH, etc.)
       
      optional string index_type = 6 [json_name = "indexType"];
      Returns:
      Whether the indexType field is set.
    • getIndexType

      String getIndexType()
       Type of index (BTREE, HASH, etc.)
       
      optional string index_type = 6 [json_name = "indexType"];
      Returns:
      The indexType.
    • getIndexTypeBytes

      com.google.protobuf.ByteString getIndexTypeBytes()
       Type of index (BTREE, HASH, etc.)
       
      optional string index_type = 6 [json_name = "indexType"];
      Returns:
      The bytes for indexType.