Package org.apache.lucene.spatial
Class ShapeValues
- java.lang.Object
-
- org.apache.lucene.spatial.ShapeValues
-
public abstract class ShapeValues extends Object
Iterator overShapeobjects for an index segment
-
-
Constructor Summary
Constructors Constructor Description ShapeValues()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleanadvanceExact(int doc)Advance the iterator to the given documentabstract org.locationtech.spatial4j.shape.Shapevalue()Returns aShapefor the current document
-
-
-
Method Detail
-
advanceExact
public abstract boolean advanceExact(int doc) throws IOExceptionAdvance the iterator to the given document- Parameters:
doc- the document to advance to- Returns:
trueif there is a value for this document- Throws:
IOException
-
value
public abstract org.locationtech.spatial4j.shape.Shape value() throws IOExceptionReturns aShapefor the current document- Throws:
IOException
-
-