Modifier and Type | Field and Description |
---|---|
protected String |
opName |
protected List<SrndQuery> |
queries |
Constructor and Description |
---|
ComposedQuery(List<SrndQuery> qs,
boolean operatorInfix,
String opName) |
Modifier and Type | Method and Description |
---|---|
protected String |
getBracketClose() |
protected String |
getBracketOpen() |
int |
getNrSubQueries() |
String |
getOperatorName() |
protected String |
getPrefixSeparator() |
Iterator<SrndQuery> |
getSubQueriesIterator() |
SrndQuery |
getSubQuery(int qn) |
protected void |
infixToString(StringBuilder r) |
boolean |
isFieldsSubQueryAcceptable() |
boolean |
isOperatorInfix() |
List<Query> |
makeLuceneSubQueriesField(String fn,
BasicQueryFactory qf) |
protected void |
prefixToString(StringBuilder r) |
protected void |
recompose(List<SrndQuery> queries) |
String |
toString()
This method is used by
SrndQuery.hashCode() and SrndQuery.equals(Object) ,
see LUCENE-2945. |
clone, equals, getWeight, getWeightOperator, getWeightString, hashCode, isWeighted, makeLuceneQueryField, makeLuceneQueryFieldNoBoost, setWeight, weightToString
public String getOperatorName()
public int getNrSubQueries()
public SrndQuery getSubQuery(int qn)
public boolean isOperatorInfix()
public List<Query> makeLuceneSubQueriesField(String fn, BasicQueryFactory qf)
public String toString()
SrndQuery
SrndQuery.hashCode()
and SrndQuery.equals(Object)
,
see LUCENE-2945.protected String getPrefixSeparator()
protected String getBracketOpen()
protected String getBracketClose()
protected void infixToString(StringBuilder r)
protected void prefixToString(StringBuilder r)
public boolean isFieldsSubQueryAcceptable()
isFieldsSubQueryAcceptable
in class SrndQuery
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.