Class KodoInputStream

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

    public class KodoInputStream
    extends alluxio.underfs.MultiRangeObjectInputStream
    A stream for reading a file from Kodo. This input stream returns 0 when calling read with an empty buffer.
    • Field Summary

      • Fields inherited from class alluxio.underfs.MultiRangeObjectInputStream

        mClosed, mEndPos, mPos, mStream
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.io.InputStream createStream​(long startPos, long endPos)  
      • Methods inherited from class alluxio.underfs.MultiRangeObjectInputStream

        close, read, read, read, skip
      • Methods inherited from class java.io.InputStream

        available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createStream

        protected java.io.InputStream createStream​(long startPos,
                                                   long endPos)
                                            throws java.io.IOException
        Specified by:
        createStream in class alluxio.underfs.MultiRangeObjectInputStream
        Throws:
        java.io.IOException