|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.search.v2.query.OrQuery
public class OrQuery
Boolean query that is the logical OR of some list of sub-queries.
| Constructor Summary | |
|---|---|
OrQuery(java.util.List subqueries)
Construct a query that is the logical OR of a list of sub-queries |
|
| Method Summary | |
|---|---|
static SearchQuery |
composeQuery(java.util.List subqueries)
Return a query that "ORs" together a list of queries. |
static SearchQuery |
composeQuery(SearchQuery searchQueryOne,
SearchQuery searchQueryTwo)
Create a query that is the OR of the two provided sub-queries |
java.lang.String |
getKey()
|
java.util.List |
getParameters()
The parameters of an OR query will all be SearchQuery instances. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrQuery(java.util.List subqueries)
subqueries - the sub-queries to OR| Method Detail |
|---|
public static SearchQuery composeQuery(java.util.List subqueries)
AllQuery is installed. If it contains only a single entry, then that
entry is returned. Otherwise an OrQuery combining the full list is returned.
subqueries - a list of SearchQuerys to combine. Must have size >= 1.
SearchQuery combining the subqueries.
java.lang.IllegalArgumentException - if the list of subqueries is empty.
public static SearchQuery composeQuery(SearchQuery searchQueryOne,
SearchQuery searchQueryTwo)
searchQueryOne - the first query to ORsearchQueryTwo - the second query to OR
public java.lang.String getKey()
getKey in interface SearchQuerySearchQuery.getKey()public java.util.List getParameters()
getParameters in interface SearchQueryStrings or SearchQuerys.SearchQuery.getParameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||