Interface PredicateQuery<T>

  • All Superinterfaces:
    Query<T>

    public interface PredicateQuery<T>
    extends Query<T>
    Deprecated.
    Use Context.getObjectsAsStream(Class) and the Java 8+ streaming API Stream instead.
    Iterface marks a Query as dependent on an org.apache.commons.collections.Predicate. This Predicate can then be returned. Certain queries can use this information to do some query optimization.
    Version:
    $Revision$ $Date$
    Author:
    Nick Collier
    • Method Detail

      • getQueryPredicate

        org.apache.commons.collections15.Predicate<T> getQueryPredicate()
        Deprecated.
        Gets the Predicate that will be used in this Predicate's next call to query().
        Returns:
        the Predicate that will be used in this Predicate's next call to query().