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, init
public ValueSource parse(FunctionQParser fp) throws SyntaxError
ValueSourceParser
parse
in class ValueSourceParser
SyntaxError
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.