public abstract class AbstractNodeQuery extends AbstractQuery
mapper
Constructor and Description |
---|
AbstractNodeQuery(org.codehaus.jackson.map.ObjectMapper mapper) |
Modifier and Type | Method and Description |
---|---|
protected int |
getLevel() |
protected int |
getLowerBound() |
protected int |
getUpperBound() |
protected boolean |
hasLevel() |
protected boolean |
hasRange() |
AbstractNodeQuery |
setLevel(int level)
Sets the node level constraint.
|
AbstractNodeQuery |
setRange(int lowerBound,
int upperBound)
Sets the node range constraint.
|
abstract org.apache.lucene.search.Query |
toQuery(boolean proxy)
Convert the constructed query into a
Query . |
setBoost, toString
public AbstractNodeQuery(org.codehaus.jackson.map.ObjectMapper mapper)
public AbstractNodeQuery setLevel(int level)
org.sindice.siren.search.node.NodeQuery#setLevelConstraint(int)}
protected boolean hasLevel()
protected int getLevel()
public AbstractNodeQuery setRange(int lowerBound, int upperBound)
org.sindice.siren.search.node.NodeQuery#setNodeConstraint(int, int)}
protected boolean hasRange()
protected int getLowerBound()
protected int getUpperBound()
public abstract org.apache.lucene.search.Query toQuery(boolean proxy) throws org.apache.lucene.queryparser.flexible.core.QueryNodeException
AbstractQuery
Query
.toQuery
in class AbstractQuery
proxy
- Should the query be wrapped into a LuceneProxyNodeQuery
?org.apache.lucene.queryparser.flexible.core.QueryNodeException
Copyright © 2014. All rights reserved.