Module org.apache.lucene.codecs
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 TypeMethodDescriptionvoidChecks consistency of this reader.voidclose()ReturnPointValuesfor the givenfield.private SimpleTextBKDReaderinitReader(long fp) private intprivate longprivate voidreadLine(IndexInput in) private booleanstartsWith(BytesRef prefix) private StringstripPrefix(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:PointsReaderReturnPointValuesfor the givenfield. The behavior is undefined if the given field doesn't have points enabled on itsFieldInfo.- Specified by:
getValuesin classPointsReader- Throws:
IOException
-
checkIntegrity
Description copied from class:PointsReaderChecks 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:
checkIntegrityin classPointsReader- Throws:
IOException
-
close
- Throws:
IOException
-
toString
-