public class HaversineConstFunction
extends org.apache.lucene.queries.function.ValueSource
| Constructor and Description |
|---|
HaversineConstFunction(double latCenter,
double lonCenter,
org.apache.lucene.queries.function.valuesource.VectorValueSource vs) |
| Modifier and Type | Method and Description |
|---|---|
void |
createWeight(Map context,
org.apache.lucene.search.IndexSearcher searcher) |
String |
description() |
boolean |
equals(Object o) |
org.apache.lucene.queries.function.FunctionValues |
getValues(Map context,
org.apache.lucene.index.AtomicReaderContext readerContext) |
int |
hashCode() |
protected String |
name() |
public HaversineConstFunction(double latCenter,
double lonCenter,
org.apache.lucene.queries.function.valuesource.VectorValueSource vs)
protected String name()
public org.apache.lucene.queries.function.FunctionValues getValues(Map context, org.apache.lucene.index.AtomicReaderContext readerContext) throws IOException
getValues in class org.apache.lucene.queries.function.ValueSourceIOExceptionpublic void createWeight(Map context, org.apache.lucene.search.IndexSearcher searcher) throws IOException
createWeight in class org.apache.lucene.queries.function.ValueSourceIOExceptionpublic boolean equals(Object o)
equals in class org.apache.lucene.queries.function.ValueSourcepublic int hashCode()
hashCode in class org.apache.lucene.queries.function.ValueSourcepublic String description()
description in class org.apache.lucene.queries.function.ValueSourceCopyright © 2000–2014 The Apache Software Foundation. All rights reserved.