public class GeohashFunction
extends org.apache.lucene.queries.function.ValueSource
Ex: geohash(lat, lon)
Note, there is no reciprocal function for this.
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.queries.function.ValueSource |
lat |
protected org.apache.lucene.queries.function.ValueSource |
lon |
Constructor and Description |
---|
GeohashFunction(org.apache.lucene.queries.function.ValueSource lat,
org.apache.lucene.queries.function.ValueSource lon) |
Modifier and Type | Method and Description |
---|---|
String |
description() |
boolean |
equals(Object o) |
org.apache.lucene.queries.function.FunctionValues |
getValues(Map context,
org.apache.lucene.index.LeafReaderContext readerContext) |
int |
hashCode() |
protected String |
name() |
protected org.apache.lucene.queries.function.ValueSource lat
protected org.apache.lucene.queries.function.ValueSource lon
public GeohashFunction(org.apache.lucene.queries.function.ValueSource lat, org.apache.lucene.queries.function.ValueSource lon)
protected String name()
public org.apache.lucene.queries.function.FunctionValues getValues(Map context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
getValues
in class org.apache.lucene.queries.function.ValueSource
IOException
public boolean equals(Object o)
equals
in class org.apache.lucene.queries.function.ValueSource
public int hashCode()
hashCode
in class org.apache.lucene.queries.function.ValueSource
public String description()
description
in class org.apache.lucene.queries.function.ValueSource
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.