com.liferay.portal.kernel.search
Interface BooleanQuery
- All Superinterfaces:
- Query, Serializable
- All Known Implementing Classes:
- BaseBooleanQueryImpl, BooleanQueryImpl, BooleanQueryImpl
public interface BooleanQuery
- extends Query
Method Summary |
void |
add(Query query,
BooleanClauseOccur booleanClauseOccur)
|
void |
add(Query query,
String occur)
|
void |
addExactTerm(String field,
boolean value)
|
void |
addExactTerm(String field,
Boolean value)
|
void |
addExactTerm(String field,
double value)
|
void |
addExactTerm(String field,
Double value)
|
void |
addExactTerm(String field,
int value)
|
void |
addExactTerm(String field,
Integer value)
|
void |
addExactTerm(String field,
long value)
|
void |
addExactTerm(String field,
Long value)
|
void |
addExactTerm(String field,
short value)
|
void |
addExactTerm(String field,
Short value)
|
void |
addExactTerm(String field,
String value)
|
void |
addNumericRangeTerm(String field,
Integer startValue,
Integer endValue)
|
void |
addNumericRangeTerm(String field,
int startValue,
int endValue)
|
void |
addNumericRangeTerm(String field,
long startValue,
long endValue)
|
void |
addNumericRangeTerm(String field,
Long startValue,
Long endValue)
|
void |
addNumericRangeTerm(String field,
short startValue,
short endValue)
|
void |
addNumericRangeTerm(String field,
Short startValue,
Short endValue)
|
void |
addRangeTerm(String field,
Integer startValue,
Integer endValue)
|
void |
addRangeTerm(String field,
int startValue,
int endValue)
|
void |
addRangeTerm(String field,
long startValue,
long endValue)
|
void |
addRangeTerm(String field,
Long startValue,
Long endValue)
|
void |
addRangeTerm(String field,
short startValue,
short endValue)
|
void |
addRangeTerm(String field,
Short startValue,
Short endValue)
|
void |
addRangeTerm(String field,
String startValue,
String endValue)
|
void |
addRequiredTerm(String field,
boolean value)
|
void |
addRequiredTerm(String field,
Boolean value)
|
void |
addRequiredTerm(String field,
double value)
|
void |
addRequiredTerm(String field,
Double value)
|
void |
addRequiredTerm(String field,
int value)
|
void |
addRequiredTerm(String field,
Integer value)
|
void |
addRequiredTerm(String field,
long value)
|
void |
addRequiredTerm(String field,
Long value)
|
void |
addRequiredTerm(String field,
short value)
|
void |
addRequiredTerm(String field,
Short value)
|
void |
addRequiredTerm(String field,
String value)
|
void |
addRequiredTerm(String field,
String value,
boolean like)
|
void |
addTerm(String field,
long value)
|
void |
addTerm(String field,
String value)
|
void |
addTerm(String field,
String value,
boolean like)
|
void |
addTerm(String field,
String value,
boolean like,
BooleanClauseOccur booleanClauseOccur)
|
void |
addTerms(String[] fields,
String values)
|
void |
addTerms(String[] fields,
String value,
boolean like)
|
List<BooleanClause> |
clauses()
|
boolean |
hasClauses()
|
add
void add(Query query,
BooleanClauseOccur booleanClauseOccur)
throws ParseException
- Throws:
ParseException
add
void add(Query query,
String occur)
throws ParseException
- Throws:
ParseException
addExactTerm
void addExactTerm(String field,
boolean value)
addExactTerm
void addExactTerm(String field,
Boolean value)
addExactTerm
void addExactTerm(String field,
double value)
addExactTerm
void addExactTerm(String field,
Double value)
addExactTerm
void addExactTerm(String field,
int value)
addExactTerm
void addExactTerm(String field,
Integer value)
addExactTerm
void addExactTerm(String field,
long value)
addExactTerm
void addExactTerm(String field,
Long value)
addExactTerm
void addExactTerm(String field,
short value)
addExactTerm
void addExactTerm(String field,
Short value)
addExactTerm
void addExactTerm(String field,
String value)
addNumericRangeTerm
void addNumericRangeTerm(String field,
int startValue,
int endValue)
addNumericRangeTerm
void addNumericRangeTerm(String field,
Integer startValue,
Integer endValue)
addNumericRangeTerm
void addNumericRangeTerm(String field,
long startValue,
long endValue)
addNumericRangeTerm
void addNumericRangeTerm(String field,
Long startValue,
Long endValue)
addNumericRangeTerm
void addNumericRangeTerm(String field,
short startValue,
short endValue)
addNumericRangeTerm
void addNumericRangeTerm(String field,
Short startValue,
Short endValue)
addRangeTerm
void addRangeTerm(String field,
int startValue,
int endValue)
addRangeTerm
void addRangeTerm(String field,
Integer startValue,
Integer endValue)
addRangeTerm
void addRangeTerm(String field,
long startValue,
long endValue)
addRangeTerm
void addRangeTerm(String field,
Long startValue,
Long endValue)
addRangeTerm
void addRangeTerm(String field,
short startValue,
short endValue)
addRangeTerm
void addRangeTerm(String field,
Short startValue,
Short endValue)
addRangeTerm
void addRangeTerm(String field,
String startValue,
String endValue)
addRequiredTerm
void addRequiredTerm(String field,
boolean value)
addRequiredTerm
void addRequiredTerm(String field,
Boolean value)
addRequiredTerm
void addRequiredTerm(String field,
double value)
addRequiredTerm
void addRequiredTerm(String field,
Double value)
addRequiredTerm
void addRequiredTerm(String field,
int value)
addRequiredTerm
void addRequiredTerm(String field,
Integer value)
addRequiredTerm
void addRequiredTerm(String field,
long value)
addRequiredTerm
void addRequiredTerm(String field,
Long value)
addRequiredTerm
void addRequiredTerm(String field,
short value)
addRequiredTerm
void addRequiredTerm(String field,
Short value)
addRequiredTerm
void addRequiredTerm(String field,
String value)
addRequiredTerm
void addRequiredTerm(String field,
String value,
boolean like)
addTerm
void addTerm(String field,
long value)
throws ParseException
- Throws:
ParseException
addTerm
void addTerm(String field,
String value)
throws ParseException
- Throws:
ParseException
addTerm
void addTerm(String field,
String value,
boolean like)
throws ParseException
- Throws:
ParseException
addTerm
void addTerm(String field,
String value,
boolean like,
BooleanClauseOccur booleanClauseOccur)
throws ParseException
- Throws:
ParseException
addTerms
void addTerms(String[] fields,
String values)
throws ParseException
- Throws:
ParseException
addTerms
void addTerms(String[] fields,
String value,
boolean like)
throws ParseException
- Throws:
ParseException
clauses
List<BooleanClause> clauses()
hasClauses
boolean hasClauses()