public abstract class IndexUnusedReason implements SerializableRepresents Reason of why the index was not used in a SQL search.
Implements
SerializableStatic Methods
newBuilder()
public static IndexUnusedReason.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
IndexUnusedReason.Builder |
|
Constructors
IndexUnusedReason()
public IndexUnusedReason()Methods
getBaseTableId()
public abstract TableId getBaseTableId()Returns the base table involved in the reason that no search index was used.
| Returns | |
|---|---|
| Type | Description |
TableId |
value or |
getCode()
public abstract String getCode()Returns the high-level reason for the scenario when no search index was used.
| Returns | |
|---|---|
| Type | Description |
String |
value or |
getIndexName()
public abstract String getIndexName()Returns the name of the unused search index, if available.
| Returns | |
|---|---|
| Type | Description |
String |
value or |
getMessage()
public abstract String getMessage()Returns free form human-readable reason for the scenario when no search index was used.
| Returns | |
|---|---|
| Type | Description |
String |
value or |
toBuilder()
public abstract IndexUnusedReason.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
IndexUnusedReason.Builder |
|