Class Lucene60PointsReader
- java.lang.Object
-
- org.apache.lucene.codecs.PointsReader
-
- org.apache.lucene.codecs.lucene60.Lucene60PointsReader
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Accountable
public class Lucene60PointsReader extends PointsReader implements Closeable
Reads point values previously written with Lucene60PointsWriter
-
-
Constructor Summary
Constructors Constructor Description Lucene60PointsReader(SegmentReadState readState)
Sole constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkIntegrity()
void
close()
PointValues
getValues(String fieldName)
Returns the underlyingBKDReader
.long
ramBytesUsed()
-
Methods inherited from class org.apache.lucene.codecs.PointsReader
getMergeInstance
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
-
-
-
Constructor Detail
-
Lucene60PointsReader
public Lucene60PointsReader(SegmentReadState readState) throws IOException
Sole constructor- Throws:
IOException
-
-
Method Detail
-
getValues
public PointValues getValues(String fieldName)
Returns the underlyingBKDReader
.- Specified by:
getValues
in classPointsReader
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
ramBytesUsed
public long ramBytesUsed()
- Specified by:
ramBytesUsed
in interfaceAccountable
-
checkIntegrity
public void checkIntegrity() throws IOException
- Specified by:
checkIntegrity
in classPointsReader
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-