org.usergrid.persistence.query.tree
Class WithinOperand

java.lang.Object
  extended by org.antlr.runtime.tree.BaseTree
      extended by org.antlr.runtime.tree.CommonTree
          extended by org.usergrid.persistence.query.tree.Operand
              extended by org.usergrid.persistence.query.tree.WithinOperand
All Implemented Interfaces:
org.antlr.runtime.tree.Tree

public class WithinOperand
extends Operand

Author:
tnine

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
WithinOperand(org.antlr.runtime.Token t)
           
 
Method Summary
 NumericLiteral getDistance()
           
 NumericLiteral getLattitude()
           
 NumericLiteral getLongitude()
           
 Property getProperty()
           
 void setDistance(float distance)
           
 void setLattitude(float lattitude)
           
 void setLongitude(float longitude)
           
 void setProperty(String propName)
           
 void visit(QueryVisitor visitor)
          Visitor method
 
Methods inherited from class org.usergrid.persistence.query.tree.Operand
getParent
 
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

WithinOperand

public WithinOperand(org.antlr.runtime.Token t)
Parameters:
property -
literal -
Method Detail

visit

public void visit(QueryVisitor visitor)
Description copied from class: Operand
Visitor method

Specified by:
visit in class Operand

setProperty

public void setProperty(String propName)
Parameters:
propName -

setDistance

public void setDistance(float distance)
Parameters:
distance -

setLattitude

public void setLattitude(float lattitude)
Parameters:
lattitude -

setLongitude

public void setLongitude(float longitude)
Parameters:
longitude -

getProperty

public Property getProperty()
Returns:

getDistance

public NumericLiteral getDistance()
Returns:

getLattitude

public NumericLiteral getLattitude()
Returns:

getLongitude

public NumericLiteral getLongitude()
Returns:


Copyright © 2013. All Rights Reserved.