Package com.atlassian.jira.search.query
Class DefaultBooleanQuery
java.lang.Object
com.atlassian.jira.search.query.DefaultBooleanQuery
- All Implemented Interfaces:
Query
,BooleanQuery
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.atlassian.jira.search.query.BooleanQuery
BooleanQuery.Clause, BooleanQuery.Occur
-
Method Summary
Modifier and TypeMethodDescriptionstatic BooleanQuery.Builder
builder()
static BooleanQuery.Clause
clause
(Query query, BooleanQuery.Occur occur) clauses()
boolean
int
hashCode()
int
static BooleanQuery
static Query
static Query
toString()
-
Method Details
-
clauses
- Specified by:
clauses
in interfaceBooleanQuery
-
minimumShouldMatch
public int minimumShouldMatch()- Specified by:
minimumShouldMatch
in interfaceBooleanQuery
-
builder
-
equals
-
hashCode
public int hashCode() -
clause
-
toString
-
mustNot
- Parameters:
query
- the query to be negated; must not be null- Returns:
- a new boolean query with the input query negated.
-
should
- Parameters:
queries
- a list of results you want to merge; must not be null or contain nulls- Returns:
- non-false results merged in a new boolean query with SHOULD.
-
should
- Parameters:
queries
- a list of results you want to merge; must not be null or contain nulls- Returns:
- non-false results merged in a new boolean query with SHOULD.
-