public class OrphanQuery extends Object implements Query
Query
testing the orphan status of a content.Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
private boolean |
_orphan |
Constructor and Description |
---|
OrphanQuery(boolean orphan)
Create an OrphanQuery.
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
int |
hashCode() |
private boolean _orphan
public OrphanQuery(boolean orphan)
orphan
- true
to get only orphan contents,
false
to get only non-orphan contents.public String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.