com.liferay.portal.kernel.search
Class BaseBooleanQueryImpl
java.lang.Object
com.liferay.portal.kernel.search.BaseQueryImpl
com.liferay.portal.kernel.search.BaseBooleanQueryImpl
- All Implemented Interfaces:
- BooleanQuery, Query, Serializable
public abstract class BaseBooleanQueryImpl
- extends BaseQueryImpl
- implements BooleanQuery
- See Also:
- Serialized Form
Method Summary |
protected void |
addTerms(String[] fields,
Map<String,List<String>> termFieldsValuesMap)
|
void |
addTerms(String[] fields,
String values)
|
void |
addTerms(String[] fields,
String value,
boolean like)
|
protected String |
getTermFieldRemainderValues(String field,
String values,
List<String> valuesList,
String pattern,
String replacement)
|
protected Map<String,List<String>> |
getTermFieldsValuesMap(String[] fields,
String values)
|
protected String[] |
parseKeywords(String values)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.kernel.search.BooleanQuery |
add, add, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addNumericRangeTerm, addNumericRangeTerm, addNumericRangeTerm, addNumericRangeTerm, addNumericRangeTerm, addNumericRangeTerm, addRangeTerm, addRangeTerm, addRangeTerm, addRangeTerm, addRangeTerm, addRangeTerm, addRangeTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addTerm, addTerm, addTerm, addTerm, clauses, hasClauses |
BaseBooleanQueryImpl
public BaseBooleanQueryImpl()
addTerms
public void addTerms(String[] fields,
String values)
throws ParseException
- Specified by:
addTerms
in interface BooleanQuery
- Throws:
ParseException
addTerms
public void addTerms(String[] fields,
String value,
boolean like)
throws ParseException
- Specified by:
addTerms
in interface BooleanQuery
- Throws:
ParseException
addTerms
protected void addTerms(String[] fields,
Map<String,List<String>> termFieldsValuesMap)
throws ParseException
- Throws:
ParseException
getTermFieldRemainderValues
protected String getTermFieldRemainderValues(String field,
String values,
List<String> valuesList,
String pattern,
String replacement)
getTermFieldsValuesMap
protected Map<String,List<String>> getTermFieldsValuesMap(String[] fields,
String values)
parseKeywords
protected String[] parseKeywords(String values)