Package org.apache.lucene.tests.index
Class AssertingLeafReader.AssertingPointValues
- java.lang.Object
-
- org.apache.lucene.index.PointValues
-
- org.apache.lucene.tests.index.AssertingLeafReader.AssertingPointValues
-
- Enclosing class:
- AssertingLeafReader
public static class AssertingLeafReader.AssertingPointValues extends PointValues
Wraps a SortedSetDocValues but with additional asserts
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.index.PointValues
PointValues.IntersectVisitor, PointValues.PointTree, PointValues.Relation
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.index.PointValues
MAX_DIMENSIONS, MAX_INDEX_DIMENSIONS, MAX_NUM_BYTES
-
-
Constructor Summary
Constructors Constructor Description AssertingPointValues(PointValues in, int maxDoc)
Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBytesPerDimension()
int
getDocCount()
byte[]
getMaxPackedValue()
byte[]
getMinPackedValue()
int
getNumDimensions()
int
getNumIndexDimensions()
PointValues.PointTree
getPointTree()
PointValues
getWrapped()
long
size()
-
Methods inherited from class org.apache.lucene.index.PointValues
estimateDocCount, estimatePointCount, getDocCount, getMaxPackedValue, getMinPackedValue, intersect, isEstimatedPointCountGreaterThanOrEqualTo, size
-
-
-
-
Constructor Detail
-
AssertingPointValues
public AssertingPointValues(PointValues in, int maxDoc)
Sole constructor.
-
-
Method Detail
-
getWrapped
public PointValues getWrapped()
-
getPointTree
public PointValues.PointTree getPointTree() throws IOException
- Specified by:
getPointTree
in classPointValues
- Throws:
IOException
-
getMinPackedValue
public byte[] getMinPackedValue() throws IOException
- Specified by:
getMinPackedValue
in classPointValues
- Throws:
IOException
-
getMaxPackedValue
public byte[] getMaxPackedValue() throws IOException
- Specified by:
getMaxPackedValue
in classPointValues
- Throws:
IOException
-
getNumDimensions
public int getNumDimensions() throws IOException
- Specified by:
getNumDimensions
in classPointValues
- Throws:
IOException
-
getNumIndexDimensions
public int getNumIndexDimensions() throws IOException
- Specified by:
getNumIndexDimensions
in classPointValues
- Throws:
IOException
-
getBytesPerDimension
public int getBytesPerDimension() throws IOException
- Specified by:
getBytesPerDimension
in classPointValues
- Throws:
IOException
-
size
public long size()
- Specified by:
size
in classPointValues
-
getDocCount
public int getDocCount()
- Specified by:
getDocCount
in classPointValues
-
-