public class DistanceValueSource extends ValueSource
PointVectorStrategy.| Constructor and Description |
|---|
DistanceValueSource(PointVectorStrategy strategy,
com.spatial4j.core.shape.Point from)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Returns the ValueSource description.
|
boolean |
equals(Object o) |
FunctionValues |
getValues(Map context,
AtomicReaderContext readerContext)
Returns the FunctionValues used by the function query.
|
int |
hashCode() |
createWeight, getSortField, newContext, toStringpublic DistanceValueSource(PointVectorStrategy strategy, com.spatial4j.core.shape.Point from)
public String description()
description in class ValueSourcepublic FunctionValues getValues(Map context, AtomicReaderContext readerContext) throws IOException
getValues in class ValueSourceIOExceptionpublic boolean equals(Object o)
equals in class ValueSourcepublic int hashCode()
hashCode in class ValueSourceCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.