com.stackmob.sdkapi
Class SMWithin
java.lang.Object
com.stackmob.sdkapi.SMCondition
com.stackmob.sdkapi.SMWithin
public class SMWithin
- extends SMCondition
A "within" query
SMWithin
public SMWithin(String field,
SMDouble lat,
SMDouble lon,
SMDouble dist)
- Create a new SMWithin query
- Parameters:
field - the geoField to querylat - the latitude of the location to searchlon - the longitude of the location to searchdist - the distance, in radians of the search circle
SMWithin
public SMWithin(String field,
double lat,
double lon,
double dist)
- Create a new SMWithin query
- Parameters:
field - the geoField to querylat - the latitude of the location to searchlon - the longitude of the location to searchdist - the distance, in radians of the search circle
getField
public String getField()
getLat
public SMDouble getLat()
getLon
public SMDouble getLon()
getDist
public SMDouble getDist()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 StackMob. All Rights Reserved.