public class ShapeAreaValueSource extends DoubleValuesSource
Shape.getArea(org.locationtech.spatial4j.context.SpatialContext)
SCORES
Constructor and Description |
---|
ShapeAreaValueSource(ShapeValuesSource shapeValueSource,
org.locationtech.spatial4j.context.SpatialContext ctx,
boolean geoArea,
double multiplier) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
DoubleValues |
getValues(LeafReaderContext readerContext,
DoubleValues scores) |
int |
hashCode() |
boolean |
needsScores() |
String |
toString() |
constant, explain, fromDoubleField, fromField, fromFloatField, fromIntField, fromLongField, fromScorer, getSortField, toLongValuesSource
public ShapeAreaValueSource(ShapeValuesSource shapeValueSource, org.locationtech.spatial4j.context.SpatialContext ctx, boolean geoArea, double multiplier)
public String toString()
toString
in class DoubleValuesSource
public DoubleValues getValues(LeafReaderContext readerContext, DoubleValues scores) throws IOException
getValues
in class DoubleValuesSource
IOException
public boolean needsScores()
needsScores
in class DoubleValuesSource
public boolean equals(Object o)
equals
in class DoubleValuesSource
public int hashCode()
hashCode
in class DoubleValuesSource
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.