Module org.apache.lucene.memory
Package org.apache.lucene.index.memory
Class MemoryIndex.MemoryIndexReader.MemoryIndexPointValues
java.lang.Object
org.apache.lucene.index.PointValues
org.apache.lucene.index.memory.MemoryIndex.MemoryIndexReader.MemoryIndexPointValues
- Enclosing class:
MemoryIndex.MemoryIndexReader
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.index.PointValues
PointValues.IntersectVisitor, PointValues.PointTree, PointValues.Relation -
Field Summary
FieldsFields inherited from class org.apache.lucene.index.PointValues
MAX_DIMENSIONS, MAX_INDEX_DIMENSIONS, MAX_NUM_BYTES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of bytes per dimensionintReturns the total number of documents that have indexed at least one point.byte[]Returns maximum value for each dimension, packed, or null ifPointValues.size(org.apache.lucene.index.IndexReader, java.lang.String)is0byte[]Returns minimum value for each dimension, packed, or null ifPointValues.size(org.apache.lucene.index.IndexReader, java.lang.String)is0intReturns how many dimensions are represented in the valuesintReturns how many dimensions are used for the indexCreate a newPointValues.PointTreeto navigate the indexlongsize()Returns the total number of indexed points across all documents.Methods inherited from class org.apache.lucene.index.PointValues
estimateDocCount, estimatePointCount, getDocCount, getMaxPackedValue, getMinPackedValue, intersect, isEstimatedPointCountGreaterThanOrEqualTo, size
-
Field Details
-
info
-
-
Constructor Details
-
MemoryIndexPointValues
MemoryIndexPointValues(MemoryIndex.Info info)
-
-
Method Details
-
getPointTree
Description copied from class:PointValuesCreate a newPointValues.PointTreeto navigate the index- Specified by:
getPointTreein classPointValues
-
getMinPackedValue
Description copied from class:PointValuesReturns minimum value for each dimension, packed, or null ifPointValues.size(org.apache.lucene.index.IndexReader, java.lang.String)is0- Specified by:
getMinPackedValuein classPointValues- Throws:
IOException
-
getMaxPackedValue
Description copied from class:PointValuesReturns maximum value for each dimension, packed, or null ifPointValues.size(org.apache.lucene.index.IndexReader, java.lang.String)is0- Specified by:
getMaxPackedValuein classPointValues- Throws:
IOException
-
getNumDimensions
Description copied from class:PointValuesReturns how many dimensions are represented in the values- Specified by:
getNumDimensionsin classPointValues- Throws:
IOException
-
getNumIndexDimensions
Description copied from class:PointValuesReturns how many dimensions are used for the index- Specified by:
getNumIndexDimensionsin classPointValues- Throws:
IOException
-
getBytesPerDimension
Description copied from class:PointValuesReturns the number of bytes per dimension- Specified by:
getBytesPerDimensionin classPointValues- Throws:
IOException
-
size
public long size()Description copied from class:PointValuesReturns the total number of indexed points across all documents.- Specified by:
sizein classPointValues
-
getDocCount
public int getDocCount()Description copied from class:PointValuesReturns the total number of documents that have indexed at least one point.- Specified by:
getDocCountin classPointValues
-