Interface InefficientQueryInfoOrBuilder (0.6.0)

public interface InefficientQueryInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabase()

public abstract 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
Type Description
String

The database.

getDatabaseBytes()

public abstract 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
Type Description
ByteString

The bytes for database.

getImpactedQueriesCount()

public abstract long getImpactedQueriesCount()

Count of queries to be impacted if index is applied

int64 impacted_queries_count = 5;

Returns
Type Description
long

The impactedQueriesCount.

getSqlIndexStatement()

public abstract 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
Type Description
String

The sqlIndexStatement.

getSqlIndexStatementBytes()

public abstract 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
Type Description
ByteString

The bytes for sqlIndexStatement.

getStorageCostBytes()

public abstract long getStorageCostBytes()

Cost of additional disk usage in bytes

int64 storage_cost_bytes = 4;

Returns
Type Description
long

The storageCostBytes.

getTable()

public abstract String getTable()

Name of the table where index is required

string table = 2;

Returns
Type Description
String

The table.

getTableBytes()

public abstract ByteString getTableBytes()

Name of the table where index is required

string table = 2;

Returns
Type Description
ByteString

The bytes for table.