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 |
|---|---|
protected String |
_tagNameForToString()
The tag name for
toString(int) debug method. |
String |
build()
Build the solr query string representing the Query object.
|
static Collector<Query,?,OrQuery> |
collector()
|
boolean |
equals(Object obj) |
List<Query> |
getQueries()
Get the list of queries in this "or".
|
int |
hashCode() |
String |
toString(int indent)
Gets a representation of this
Query, for pretty-printing for logging and debugging purposes |
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
Querybuild in interface QueryQuerySyntaxException - if the query can't be built because of a syntax error.public String toString(int indent)
QueryQuery, for pretty-printing for logging and debugging purposesprotected String _tagNameForToString()
toString(int) debug method.toString(int) debug method.