public class HaversineConstFunction extends ValueSource
Constructor and Description |
---|
HaversineConstFunction(double latCenter,
double lonCenter,
VectorValueSource vs) |
Modifier and Type | Method and Description |
---|---|
void |
createWeight(Map context,
IndexSearcher searcher) |
String |
description() |
boolean |
equals(Object o) |
FunctionValues |
getValues(Map context,
AtomicReaderContext readerContext) |
int |
hashCode() |
protected String |
name() |
getSortField, newContext, toString
public HaversineConstFunction(double latCenter, double lonCenter, VectorValueSource vs)
protected String name()
public FunctionValues getValues(Map context, AtomicReaderContext readerContext) throws IOException
getValues
in class ValueSource
IOException
public void createWeight(Map context, IndexSearcher searcher) throws IOException
createWeight
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.