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
ConstructorsModifierConstructorDescriptionprotectedLatLonShapeDocValues(List<ShapeField.DecodedTriangle> tessellation) protected ctor for instantiating a lat lon doc value based on a tessellationprotectedLatLonShapeDocValues(BytesRef binaryValue) protected ctor for instantiating a lat lon doc value based on an already retrieved binary format -
Method Summary
Modifier and TypeMethodDescriptionprotected Rectangleprotected Pointprotected ShapeDocValues.EncoderMethods 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:
getCentroidin classShapeDocValues
-
getBoundingBox
- Specified by:
getBoundingBoxin classShapeDocValues
-
computeCentroid
- Specified by:
computeCentroidin classShapeDocValues
-
computeBoundingBox
- Specified by:
computeBoundingBoxin classShapeDocValues
-
getEncoder
- Specified by:
getEncoderin classShapeDocValues
-