Class FloatPointNearestNeighbor.Cell
- java.lang.Object
-
- org.apache.lucene.sandbox.document.FloatPointNearestNeighbor.Cell
-
- All Implemented Interfaces:
java.lang.Comparable<FloatPointNearestNeighbor.Cell>
- Enclosing class:
- FloatPointNearestNeighbor
static class FloatPointNearestNeighbor.Cell extends java.lang.Object implements java.lang.Comparable<FloatPointNearestNeighbor.Cell>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) double
distanceSquared
The closest possible distance^2 of all points in this cell(package private) PointValues.PointTree
index
(package private) byte[]
maxPacked
(package private) byte[]
minPacked
(package private) int
readerIndex
-
Constructor Summary
Constructors Constructor Description Cell(PointValues.PointTree index, int readerIndex, byte[] minPacked, byte[] maxPacked, double distanceSquared)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(FloatPointNearestNeighbor.Cell other)
java.lang.String
toString()
-
-
-
Field Detail
-
readerIndex
final int readerIndex
-
minPacked
final byte[] minPacked
-
maxPacked
final byte[] maxPacked
-
index
final PointValues.PointTree index
-
distanceSquared
final double distanceSquared
The closest possible distance^2 of all points in this cell
-
-
Constructor Detail
-
Cell
Cell(PointValues.PointTree index, int readerIndex, byte[] minPacked, byte[] maxPacked, double distanceSquared)
-
-
Method Detail
-
compareTo
public int compareTo(FloatPointNearestNeighbor.Cell other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<FloatPointNearestNeighbor.Cell>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-