|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.usergrid.persistence.query.ir.QueryNode
org.usergrid.persistence.query.ir.SliceNode
public class SliceNode
A node which has 1 or more query Slices that can be unioned together. I.E and && operation with either 1 or more children
Constructor Summary | |
---|---|
SliceNode(int id)
Set the id for construction. |
Method Summary | |
---|---|
Collection<QuerySlice> |
getAllSlices()
Get all slices in our context |
QuerySlice |
getSlice(String fieldName)
Get the slice by field name if it exists. |
void |
removeSlice(String fieldName,
CollectionInfo info)
Remove this slice by name. |
void |
setFinish(String fieldName,
Object finish,
boolean inclusive)
Set the finish. |
void |
setStart(String fieldName,
Object start,
boolean inclusive)
Set the start value. |
String |
toString()
|
void |
visit(NodeVisitor visitor)
Visit this node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SliceNode(int id)
id
- Method Detail |
---|
public void setStart(String fieldName, Object start, boolean inclusive)
start
- The start value. this will be processed and turned into an
indexed valueincludeEnd
- public void setFinish(String fieldName, Object finish, boolean inclusive)
fieldName
- value
- inclusive
- public QuerySlice getSlice(String fieldName)
fieldName
-
public void removeSlice(String fieldName, CollectionInfo info)
fieldName
- public Collection<QuerySlice> getAllSlices()
public void visit(NodeVisitor visitor) throws Exception
QueryNode
visit
in class QueryNode
Exception
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |