Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
protected Query |
_query
The negated query.
|
Constructor and Description |
---|
NotQuery(Query query)
Build a NotQuery object.
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
Query |
getQuery()
Get the negated query.
|
public String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.