Use the factory method IndexHints.createUseIndexHints(listOfIndexes) to limit the query planner to only use specific indexes when determining which index to use for a table
| Modifier and Type | Field and Description |
|---|---|
| private final LinkedHashSet |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public static IndexHints | Returns: the hint objectthe set of allowed indexes allowedIndexes)Create an index hint object. |
| public Set | |
| public String |
| allowedIndexes | back to summary |
|---|---|
| private final LinkedHashSet<String> allowedIndexes | |
| IndexHints | back to summary |
|---|---|
| private IndexHints(LinkedHashSet<String> allowedIndexes) | |
| allowIndex | back to summary |
|---|---|
| public boolean allowIndex(Index index) Allow an index to be used.
| |
| createUseIndexHints | back to summary |
|---|---|
| public static IndexHints createUseIndexHints(LinkedHashSet<String> allowedIndexes) Create an index hint object.
| |
| getAllowedIndexes | back to summary |
|---|---|
| public Set | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |