|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.antlr.runtime.tree.BaseTree
org.antlr.runtime.tree.CommonTree
org.usergrid.persistence.query.tree.Operand
org.usergrid.persistence.query.tree.EqualityOperand
public abstract class EqualityOperand
A base class for any equality expression. Expressions must have a property and a value. Examples are >=, >, =, <, <=,
Field Summary |
---|
Fields inherited from class org.antlr.runtime.tree.CommonTree |
---|
childIndex, parent, startIndex, stopIndex, token |
Fields inherited from class org.antlr.runtime.tree.BaseTree |
---|
children |
Fields inherited from interface org.antlr.runtime.tree.Tree |
---|
INVALID_NODE |
Constructor Summary | |
---|---|
EqualityOperand(String propName,
Literal<?> value)
|
|
EqualityOperand(org.antlr.runtime.Token t)
|
Method Summary | |
---|---|
Literal<?> |
getLiteral()
|
Property |
getProperty()
|
void |
setLiteral(Object value)
Set the literal on this operand from the given value |
void |
setProperty(String name)
Set the property on this operand |
Methods inherited from class org.usergrid.persistence.query.tree.Operand |
---|
getParent, visit |
Methods inherited from class org.antlr.runtime.tree.CommonTree |
---|
dupNode, getCharPositionInLine, getChildIndex, getLine, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toString |
Methods inherited from class org.antlr.runtime.tree.BaseTree |
---|
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EqualityOperand(org.antlr.runtime.Token t)
property
- literal
- public EqualityOperand(String propName, Literal<?> value)
Method Detail |
---|
public void setProperty(String name)
name
- public void setLiteral(Object value)
literal
- public Property getProperty()
public Literal<?> getLiteral()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |