Class ComposedQuery

  • All Implemented Interfaces:
    java.lang.Cloneable
    Direct Known Subclasses:
    AndQuery, DistanceQuery, NotQuery, OrQuery

    public abstract class ComposedQuery
    extends SrndQuery
    Base class for composite queries (such as AND/OR/NOT)
    • Constructor Detail

      • ComposedQuery

        public ComposedQuery​(java.util.List<SrndQuery> qs,
                             boolean operatorInfix,
                             java.lang.String opName)
    • Method Detail

      • getOperatorName

        public java.lang.String getOperatorName()
      • getSubQueriesIterator

        public java.util.Iterator<SrndQuery> getSubQueriesIterator()
      • getNrSubQueries

        public int getNrSubQueries()
      • getSubQuery

        public SrndQuery getSubQuery​(int qn)
      • isOperatorInfix

        public boolean isOperatorInfix()
      • makeLuceneSubQueriesField

        public java.util.List<Query> makeLuceneSubQueriesField​(java.lang.String fn,
                                                               BasicQueryFactory qf)