Interface IndexQueryabilityFilter

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @API(EXPERIMENTAL)
    @FunctionalInterface
    public interface IndexQueryabilityFilter
    A filter used to determine whether an index should be considered when planning queries.
    • Method Detail

      • isQueryable

        boolean isQueryable​(@Nonnull
                            Index index)
        Return whether the given index should be considered by the query planner. Note that the planner is not required to use an index for which isQueryable() is true.
        Parameters:
        index - an index
        Returns:
        whether the given index should be considered by the planner