Interface InefficientQueryInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InefficientQueryInfo,InefficientQueryInfo.Builder
@Generated
public interface InefficientQueryInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionName of the database where index is required.com.google.protobuf.ByteStringName of the database where index is required.longCount of queries to be impacted if index is appliedSQL statement of the index.com.google.protobuf.ByteStringSQL statement of the index.longCost of additional disk usage in bytesgetTable()Name of the table where index is requiredcom.google.protobuf.ByteStringName of the table where index is requiredMethods 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
-
getDatabase
String getDatabase()Name of the database where index is required. For example, "db1", which is the name of the database present in the instance.
string database = 1;- Returns:
- The database.
-
getDatabaseBytes
com.google.protobuf.ByteString getDatabaseBytes()Name of the database where index is required. For example, "db1", which is the name of the database present in the instance.
string database = 1;- Returns:
- The bytes for database.
-
getTable
String getTable()Name of the table where index is required
string table = 2;- Returns:
- The table.
-
getTableBytes
com.google.protobuf.ByteString getTableBytes()Name of the table where index is required
string table = 2;- Returns:
- The bytes for table.
-
getSqlIndexStatement
String getSqlIndexStatement()SQL statement of the index. Based on the ddl type, this will be either CREATE INDEX or DROP INDEX.
string sql_index_statement = 3;- Returns:
- The sqlIndexStatement.
-
getSqlIndexStatementBytes
com.google.protobuf.ByteString getSqlIndexStatementBytes()SQL statement of the index. Based on the ddl type, this will be either CREATE INDEX or DROP INDEX.
string sql_index_statement = 3;- Returns:
- The bytes for sqlIndexStatement.
-
getStorageCostBytes
long getStorageCostBytes()Cost of additional disk usage in bytes
int64 storage_cost_bytes = 4;- Returns:
- The storageCostBytes.
-
getImpactedQueriesCount
long getImpactedQueriesCount()Count of queries to be impacted if index is applied
int64 impacted_queries_count = 5;- Returns:
- The impactedQueriesCount.
-