public class DescendantPageQuery extends Object implements Query
Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
protected String |
_ancestorPageId
The id.
|
Constructor and Description |
---|
DescendantPageQuery(String ancestorPageId)
Creates a DescendantPageQuery
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
int |
hashCode() |
protected String _ancestorPageId
public DescendantPageQuery(String ancestorPageId)
ancestorPageId
- The ancestor page idpublic String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.