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 TypeMethodDescriptiongetColumnNames(int index) Columns included in indexcom.google.protobuf.ByteStringgetColumnNamesBytes(int index) Columns included in indexintColumns included in indexColumns included in indexType of index (BTREE, HASH, etc.)com.google.protobuf.ByteStringType of index (BTREE, HASH, etc.)getName()Index namecom.google.protobuf.ByteStringIndex namebooleanWhether this is the primary key indexTable this index belongs tocom.google.protobuf.ByteStringTable this index belongs tobooleanWhether index enforces uniquenessbooleanType of index (BTREE, HASH, etc.)booleanhasName()Index namebooleanWhether this is the primary key indexbooleanTable this index belongs tobooleanWhether index enforces uniquenessMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
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.
-