Module org.apache.lucene.sandbox
Class FloatPointNearestNeighbor.Cell
java.lang.Object
org.apache.lucene.sandbox.document.FloatPointNearestNeighbor.Cell
- All Implemented Interfaces:
Comparable<FloatPointNearestNeighbor.Cell>
- Enclosing class:
FloatPointNearestNeighbor
static class FloatPointNearestNeighbor.Cell
extends Object
implements Comparable<FloatPointNearestNeighbor.Cell>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final double
The closest possible distance^2 of all points in this cell(package private) final PointValues.PointTree
(package private) final byte[]
(package private) final byte[]
(package private) final int
-
Constructor Summary
ConstructorsConstructorDescriptionCell
(PointValues.PointTree index, int readerIndex, byte[] minPacked, byte[] maxPacked, double distanceSquared) -
Method Summary
-
Field Details
-
readerIndex
final int readerIndex -
minPacked
final byte[] minPacked -
maxPacked
final byte[] maxPacked -
index
-
distanceSquared
final double distanceSquaredThe closest possible distance^2 of all points in this cell
-
-
Constructor Details
-
Cell
Cell(PointValues.PointTree index, int readerIndex, byte[] minPacked, byte[] maxPacked, double distanceSquared)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<FloatPointNearestNeighbor.Cell>
-
toString
-