java.lang.Object
org.apache.lucene.document.ShapeDocValues
org.apache.lucene.document.LatLonShapeDocValues
A concrete implementation of
ShapeDocValues
for storing binary doc value representation
of LatLonShape
geometries in a LatLonShapeDocValuesField
Note: This class cannot be instantiated directly. See LatLonShape
for factory API
based on different geometries.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.document.ShapeDocValues
ShapeDocValues.Encoder
-
Field Summary
Fields inherited from class org.apache.lucene.document.ShapeDocValues
boundingBox, centroid, shapeComparator, VERSION
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
LatLonShapeDocValues
(List<ShapeField.DecodedTriangle> tessellation) protected ctor for instantiating a lat lon doc value based on a tessellationprotected
LatLonShapeDocValues
(BytesRef binaryValue) protected ctor for instantiating a lat lon doc value based on an already retrieved binary format -
Method Summary
Modifier and TypeMethodDescriptionprotected Rectangle
protected Point
protected ShapeDocValues.Encoder
Methods inherited from class org.apache.lucene.document.ShapeDocValues
binaryValue, getEncodedCentroidX, getEncodedCentroidY, getEncodedMaxX, getEncodedMaxY, getEncodedMinX, getEncodedMinY, getHighestDimension, newGeometryQuery, numberOfTerms, relate, vIntSize, vLongSize
-
Constructor Details
-
LatLonShapeDocValues
protected ctor for instantiating a lat lon doc value based on a tessellation -
LatLonShapeDocValues
protected ctor for instantiating a lat lon doc value based on an already retrieved binary format
-
-
Method Details
-
getCentroid
- Specified by:
getCentroid
in classShapeDocValues
-
getBoundingBox
- Specified by:
getBoundingBox
in classShapeDocValues
-
computeCentroid
- Specified by:
computeCentroid
in classShapeDocValues
-
computeBoundingBox
- Specified by:
computeBoundingBox
in classShapeDocValues
-
getEncoder
- Specified by:
getEncoder
in classShapeDocValues
-