Class SimpleTextPointsReader
java.lang.Object
org.apache.lucene.codecs.PointsReader
org.apache.lucene.codecs.simpletext.SimpleTextPointsReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IndexInput
(package private) final Map<String,
SimpleTextBKDReader> (package private) final SegmentReadState
(package private) final BytesRefBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks consistency of this reader.void
close()
ReturnPointValues
for the givenfield
.private SimpleTextBKDReader
initReader
(long fp) private int
private long
private void
readLine
(IndexInput in) private boolean
startsWith
(BytesRef prefix) private String
stripPrefix
(BytesRef prefix) toString()
Methods inherited from class org.apache.lucene.codecs.PointsReader
getMergeInstance
-
Field Details
-
dataIn
-
readState
-
readers
-
scratch
-
-
Constructor Details
-
SimpleTextPointsReader
- Throws:
IOException
-
-
Method Details
-
initReader
- Throws:
IOException
-
readLine
- Throws:
IOException
-
startsWith
-
parseInt
-
parseLong
-
stripPrefix
-
getValues
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:
IOException
-
checkIntegrity
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:
IOException
-
close
- Throws:
IOException
-
toString
-