public abstract class CompoundQueryAbstractBuilder<T extends CompoundQueryAbstractBuilder<T>> extends Object
Constructor and Description |
---|
CompoundQueryAbstractBuilder() |
Modifier and Type | Method and Description |
---|---|
T |
withMinimumNumberShouldMatch(String minimumNumberShouldMatch) |
QueryBuilder<T> |
withMust() |
T |
withMust(List<Query> queries) |
T |
withMust(Query query) |
QueryBuilder<T> |
withMustNot() |
T |
withMustNot(List<Query> queries) |
T |
withMustNot(Query query) |
T |
withQuery(CompoundQuery.Operator clauseOperator,
Query query) |
QueryBuilder<T> |
withShould() |
T |
withShould(List<Query> queries) |
T |
withShould(Query query) |
public QueryBuilder<T> withMust()
public QueryBuilder<T> withShould()
public T withQuery(CompoundQuery.Operator clauseOperator, Query query)
public QueryBuilder<T> withMustNot()