Class SimpleTextDocValuesReader

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    class SimpleTextDocValuesReader
    extends DocValuesProducer
    • Constructor Detail

      • SimpleTextDocValuesReader

        public SimpleTextDocValuesReader​(SegmentReadState state,
                                         java.lang.String ext)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getNumericNonIterator

        java.util.function.IntFunction<java.lang.Long> getNumericNonIterator​(FieldInfo fieldInfo)
                                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • readLine

        private void readLine()
                       throws java.io.IOException
        Used only in ctor:
        Throws:
        java.io.IOException
      • startsWith

        private boolean startsWith​(BytesRef prefix)
        Used only in ctor:
      • stripPrefix

        private java.lang.String stripPrefix​(BytesRef prefix)
        Used only in ctor:
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • checkIntegrity

        public void checkIntegrity()
                            throws java.io.IOException
        Description copied from class: DocValuesProducer
        Checks consistency of this producer

        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 class DocValuesProducer
        Throws:
        java.io.IOException