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, toString
protected 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 ValueSource
IOException
public boolean equals(Object o)
equals
in class ValueSource
public int hashCode()
hashCode
in class ValueSource
public String description()
description
in class ValueSource
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.