public class GeohashFunction extends ValueSource
| Modifier and Type | Field and Description |
|---|---|
protected ValueSource |
lat |
protected ValueSource |
lon |
| Constructor and Description |
|---|
GeohashFunction(ValueSource lat,
ValueSource lon) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
equals(Object o) |
FunctionValues |
getValues(Map context,
AtomicReaderContext readerContext) |
int |
hashCode() |
protected String |
name() |
createWeight, getSortField, newContext, toStringprotected ValueSource lat
protected ValueSource lon
public GeohashFunction(ValueSource lat, ValueSource lon)
protected String name()
public 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 ValueSourcepublic String description()
description in class ValueSourceCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.