Class Lucene86PointsReader
- java.lang.Object
-
- org.apache.lucene.codecs.PointsReader
-
- org.apache.lucene.backward_codecs.lucene86.Lucene86PointsReader
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class Lucene86PointsReader extends PointsReader
Reads point values previously written with Lucene86PointsWriter
-
-
Field Summary
Fields Modifier and Type Field Description (package private) IndexInput
dataIn
(package private) IndexInput
indexIn
(package private) java.util.Map<java.lang.Integer,PointValues>
readers
(package private) SegmentReadState
readState
-
Constructor Summary
Constructors Constructor Description Lucene86PointsReader(SegmentReadState readState)
Sole constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkIntegrity()
Checks consistency of this reader.void
close()
PointValues
getValues(java.lang.String fieldName)
Returns the underlyingPointValues
.-
Methods inherited from class org.apache.lucene.codecs.PointsReader
getMergeInstance
-
-
-
-
Field Detail
-
indexIn
final IndexInput indexIn
-
dataIn
final IndexInput dataIn
-
readState
final SegmentReadState readState
-
readers
final java.util.Map<java.lang.Integer,PointValues> readers
-
-
Constructor Detail
-
Lucene86PointsReader
public Lucene86PointsReader(SegmentReadState readState) throws java.io.IOException
Sole constructor- Throws:
java.io.IOException
-
-
Method Detail
-
getValues
public PointValues getValues(java.lang.String fieldName)
Returns the underlyingPointValues
.- Specified by:
getValues
in classPointsReader
-
checkIntegrity
public void checkIntegrity() throws java.io.IOException
Description copied from class:PointsReader
Checks consistency of this reader.Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
- Specified by:
checkIntegrity
in classPointsReader
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
-