org.usergrid.persistence.query.ir
Class WithinNode
java.lang.Object
org.usergrid.persistence.query.ir.QueryNode
org.usergrid.persistence.query.ir.WithinNode
public class WithinNode
- extends QueryNode
Intermediate represnetation of the within operator
- Author:
- tnine
Constructor Summary |
WithinNode(String propertyName,
float distance,
float lattitude,
float longitude)
|
WithinNode
public WithinNode(String propertyName,
float distance,
float lattitude,
float longitude)
- Parameters:
propertyName
- distance
- lattitude
- longitude
-
getPropertyName
public String getPropertyName()
- Returns:
- the propertyName
getDistance
public float getDistance()
- Returns:
- the distance
getLattitude
public float getLattitude()
- Returns:
- the lattitude
getLongitude
public float getLongitude()
- Returns:
- the longitude
visit
public void visit(NodeVisitor visitor)
throws Exception
- Description copied from class:
QueryNode
- Visit this node
- Specified by:
visit
in class QueryNode
- Throws:
Exception
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013. All Rights Reserved.