Module org.apache.lucene.core
Package org.apache.lucene.index
Class SlowCompositeCodecReaderWrapper.SlowCompositePointsReaderWrapper
- java.lang.Object
-
- org.apache.lucene.codecs.PointsReader
-
- org.apache.lucene.index.SlowCompositeCodecReaderWrapper.SlowCompositePointsReaderWrapper
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- SlowCompositeCodecReaderWrapper
private static class SlowCompositeCodecReaderWrapper.SlowCompositePointsReaderWrapper extends PointsReader
-
-
Field Summary
Fields Modifier and Type Field Description private CodecReader[]
codecReaders
private int[]
docStarts
private PointsReader[]
readers
-
Constructor Summary
Constructors Constructor Description SlowCompositePointsReaderWrapper(CodecReader[] codecReaders, int[] docStarts)
-
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 field)
ReturnPointValues
for the givenfield
.-
Methods inherited from class org.apache.lucene.codecs.PointsReader
getMergeInstance
-
-
-
-
Field Detail
-
codecReaders
private final CodecReader[] codecReaders
-
readers
private final PointsReader[] readers
-
docStarts
private final int[] docStarts
-
-
Constructor Detail
-
SlowCompositePointsReaderWrapper
SlowCompositePointsReaderWrapper(CodecReader[] codecReaders, int[] docStarts)
-
-
Method Detail
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
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
-
getValues
public PointValues getValues(java.lang.String field) throws java.io.IOException
Description copied from class:PointsReader
ReturnPointValues
for the givenfield
. The behavior is undefined if the given field doesn't have points enabled on itsFieldInfo
.- Specified by:
getValues
in classPointsReader
- Throws:
java.io.IOException
-
-