class SimpleTextPointsReader extends PointsReader
| Modifier and Type | Field and Description |
|---|---|
private IndexInput |
dataIn |
(package private) java.util.Map<java.lang.String,SimpleTextBKDReader> |
readers |
(package private) SegmentReadState |
readState |
(package private) BytesRefBuilder |
scratch |
| Constructor and Description |
|---|
SimpleTextPointsReader(SegmentReadState readState) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIntegrity()
Checks consistency of this reader.
|
void |
close() |
PointValues |
getValues(java.lang.String fieldName)
Return
PointValues for the given field. |
private SimpleTextBKDReader |
initReader(long fp) |
private int |
parseInt(BytesRef prefix) |
private long |
parseLong(BytesRef prefix) |
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
private void |
readLine(IndexInput in) |
private boolean |
startsWith(BytesRef prefix) |
private java.lang.String |
stripPrefix(BytesRef prefix) |
java.lang.String |
toString() |
getMergeInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildResourcesprivate final IndexInput dataIn
final SegmentReadState readState
final java.util.Map<java.lang.String,SimpleTextBKDReader> readers
final BytesRefBuilder scratch
public SimpleTextPointsReader(SegmentReadState readState) throws java.io.IOException
java.io.IOExceptionprivate SimpleTextBKDReader initReader(long fp) throws java.io.IOException
java.io.IOExceptionprivate void readLine(IndexInput in) throws java.io.IOException
java.io.IOExceptionprivate boolean startsWith(BytesRef prefix)
private int parseInt(BytesRef prefix)
private long parseLong(BytesRef prefix)
private java.lang.String stripPrefix(BytesRef prefix)
public PointValues getValues(java.lang.String fieldName) throws java.io.IOException
PointsReaderPointValues for the given field.getValues in class PointsReaderjava.io.IOExceptionpublic void checkIntegrity()
throws java.io.IOException
PointsReaderNote that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
checkIntegrity in class PointsReaderjava.io.IOExceptionpublic long ramBytesUsed()
Accountablepublic void close()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object