public class ShapeAreaValueSource extends ValueSource
FunctionValues.objectVal(int).Shape.getArea(com.spatial4j.core.context.SpatialContext)| Constructor and Description |
|---|
ShapeAreaValueSource(ValueSource shapeValueSource,
com.spatial4j.core.context.SpatialContext ctx,
boolean geoArea) |
| 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() |
getSortField, newContext, toStringpublic ShapeAreaValueSource(ValueSource shapeValueSource, com.spatial4j.core.context.SpatialContext ctx, boolean geoArea)
public String description()
description in class ValueSourcepublic void createWeight(Map context, IndexSearcher searcher) throws IOException
createWeight in class ValueSourceIOExceptionpublic 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 ValueSourceCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.