private class MemoryIndex.MemoryIndexReader.MemoryIndexPointValues extends PointValues
PointValues.IntersectVisitor, PointValues.Relation
MAX_DIMENSIONS, MAX_NUM_BYTES
Modifier | Constructor and Description |
---|---|
private |
MemoryIndexPointValues() |
Modifier and Type | Method and Description |
---|---|
int |
getBytesPerDimension(java.lang.String fieldName)
Returns the number of bytes per dimension
|
int |
getDocCount(java.lang.String fieldName)
Returns the total number of documents that have indexed at least one point for this field.
|
byte[] |
getMaxPackedValue(java.lang.String fieldName)
Returns maximum value for each dimension, packed, or null if
PointValues.size(org.apache.lucene.index.IndexReader, java.lang.String) is 0 |
byte[] |
getMinPackedValue(java.lang.String fieldName)
Returns minimum value for each dimension, packed, or null if
PointValues.size(org.apache.lucene.index.IndexReader, java.lang.String) is 0 |
int |
getNumDimensions(java.lang.String fieldName)
Returns how many dimensions were indexed
|
void |
intersect(java.lang.String fieldName,
PointValues.IntersectVisitor visitor)
Finds all documents and points matching the provided visitor.
|
long |
size(java.lang.String fieldName)
Returns the total number of indexed points across all documents in this field.
|
getDocCount, getMaxPackedValue, getMinPackedValue, size
public void intersect(java.lang.String fieldName, PointValues.IntersectVisitor visitor) throws java.io.IOException
PointValues
intersect
in class PointValues
java.io.IOException
public byte[] getMinPackedValue(java.lang.String fieldName) throws java.io.IOException
PointValues
PointValues.size(org.apache.lucene.index.IndexReader, java.lang.String)
is 0
getMinPackedValue
in class PointValues
java.io.IOException
public byte[] getMaxPackedValue(java.lang.String fieldName) throws java.io.IOException
PointValues
PointValues.size(org.apache.lucene.index.IndexReader, java.lang.String)
is 0
getMaxPackedValue
in class PointValues
java.io.IOException
public int getNumDimensions(java.lang.String fieldName) throws java.io.IOException
PointValues
getNumDimensions
in class PointValues
java.io.IOException
public int getBytesPerDimension(java.lang.String fieldName) throws java.io.IOException
PointValues
getBytesPerDimension
in class PointValues
java.io.IOException
public long size(java.lang.String fieldName)
PointValues
size
in class PointValues
public int getDocCount(java.lang.String fieldName)
PointValues
getDocCount
in class PointValues