Class PredicateDerefQuery

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class PredicateDerefQuery
    extends Query
    Implements a Lucene Query which returns the nodes which have a reference property which matches the nodes of the subquery.
    See Also:
    Serialized Form
    • Method Detail

      • createWeight

        public Weight createWeight​(Searcher searcher)
        Creates a Weight instance for this query.
        Overrides:
        createWeight in class Query
        Parameters:
        searcher - the Searcher instance to use.
        Returns:
        a DerefWeight.
      • toString

        public String toString​(String field)
        Returns PredicateDerefQuery(subQuery, referenceNodeProperty, nameTest)
        Specified by:
        toString in class Query
        Parameters:
        field - the name of a field.
        Returns:
        'DerefQuery'.