public abstract static class IndexUnusedReason.Builder
Constructors
Builder()
public Builder()
Methods
build()
public abstract IndexUnusedReason build()
Creates a @code IndexUnusedReason} object.
Returns | |
---|---|
Type | Description |
IndexUnusedReason |
setBaseTableId(TableId baseTable)
public abstract IndexUnusedReason.Builder setBaseTableId(TableId baseTable)
Specifies the base table involved in the reason that no search index was used.
Parameter | |
---|---|
Name | Description |
baseTable |
TableId baseTable or |
Returns | |
---|---|
Type | Description |
IndexUnusedReason.Builder |
setCode(String code)
public abstract IndexUnusedReason.Builder setCode(String code)
Specifies the high-level reason for the scenario when no search index was used.
Parameter | |
---|---|
Name | Description |
code |
String code or |
Returns | |
---|---|
Type | Description |
IndexUnusedReason.Builder |
setIndexName(String indexName)
public abstract IndexUnusedReason.Builder setIndexName(String indexName)
Specifies the name of the unused search index, if available.
Parameter | |
---|---|
Name | Description |
indexName |
String indexName or |
Returns | |
---|---|
Type | Description |
IndexUnusedReason.Builder |
setMessage(String message)
public abstract IndexUnusedReason.Builder setMessage(String message)
Free form human-readable reason for the scenario when no search index was used.
Parameter | |
---|---|
Name | Description |
message |
String message or |
Returns | |
---|---|
Type | Description |
IndexUnusedReason.Builder |