@API(value=EXPERIMENTAL) @FunctionalInterface public interface IndexQueryabilityFilter
Modifier and Type | Field and Description |
---|---|
static IndexQueryabilityFilter |
DEFAULT
The default index queryability filter which uses all indexes except those with the
IndexOptions.ALLOWED_FOR_QUERY_OPTION set to false . |
Modifier and Type | Method and Description |
---|---|
boolean |
isQueryable(Index index)
Return whether the given index should be considered by the query planner.
|
static final IndexQueryabilityFilter DEFAULT
IndexOptions.ALLOWED_FOR_QUERY_OPTION
set to false
.boolean isQueryable(@Nonnull Index index)
isQueryable()
is true
.index
- an index