Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
protected List<Query> |
_queries
The list of queries.
|
Constructor and Description |
---|
OrQuery(Collection<Query> queries)
Build an OrQuery object.
|
OrQuery(Query... queries)
Build an OrQuery object.
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
List<Query> |
getQueries()
Get the list of queries in this "or".
|
int |
hashCode() |
public OrQuery(Query... queries)
queries
- the queries.public OrQuery(Collection<Query> queries)
queries
- the queries as a Collection.public List<Query> getQueries()
public String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.