public static class Query.AndTerm extends Query.CompositeTerm
Constructor and Description |
---|
AndTerm() |
AndTerm(Collection<Query.Term> terms) |
AndTerm(Query.Term... terms) |
Modifier and Type | Method and Description |
---|---|
String |
getOp()
Operation over the terms, such as AND or OR
|
Boolean |
match(Query.AmbigousTermMatcher m)
Does the term matches the provided object, returning null if does not apply (e.g., the object does not have the provided attribute)
|
boolean |
match(Query.TermMatcher m)
A term matches, when all sub-term match
|
add, hasAttribute, remove, terms, toString, toString
public AndTerm()
public AndTerm(Query.Term... terms)
public AndTerm(Collection<Query.Term> terms)
public String getOp()
Query.CompositeTerm
getOp
in class Query.CompositeTerm
public boolean match(Query.TermMatcher m)
public Boolean match(Query.AmbigousTermMatcher m)
Query.Term