public class Lucene60PointsReader extends PointsReader implements java.io.Closeable
Lucene60PointsWriter
Modifier and Type | Field and Description |
---|---|
(package private) IndexInput |
dataIn |
(package private) java.util.Map<java.lang.Integer,BKDReader> |
readers |
(package private) SegmentReadState |
readState |
Constructor and Description |
---|
Lucene60PointsReader(SegmentReadState readState)
Sole constructor
|
Modifier and Type | Method and Description |
---|---|
void |
checkIntegrity()
Checks consistency of this reader.
|
void |
close() |
java.util.Collection<Accountable> |
getChildResources()
Returns nested resources of this class.
|
PointValues |
getValues(java.lang.String fieldName)
Returns the underlying
BKDReader . |
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
getMergeInstance
final IndexInput dataIn
final SegmentReadState readState
final java.util.Map<java.lang.Integer,BKDReader> readers
public Lucene60PointsReader(SegmentReadState readState) throws java.io.IOException
java.io.IOException
public PointValues getValues(java.lang.String fieldName)
BKDReader
.getValues
in class PointsReader
public long ramBytesUsed()
Accountable
ramBytesUsed
in interface Accountable
public java.util.Collection<Accountable> getChildResources()
Accountable
getChildResources
in interface Accountable
Accountables
public void checkIntegrity() throws java.io.IOException
PointsReader
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
checkIntegrity
in class PointsReader
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException