public class GeoDistValueSourceParser extends ValueSourceParser
HaversineConstFunction or HaversineFunction
or calling SpatialStrategy.makeDistanceValueSource(com.spatial4j.core.shape.Point,double).standardValueSourceParsers| Constructor and Description |
|---|
GeoDistValueSourceParser() |
| Modifier and Type | Method and Description |
|---|---|
ValueSource |
parse(FunctionQParser fp)
Parse the user input into a ValueSource.
|
addParser, addParser, initpublic ValueSource parse(FunctionQParser fp) throws SyntaxError
ValueSourceParserparse in class ValueSourceParserSyntaxErrorCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.