Class RangeFileInStream.Factory

    • Constructor Summary

      Constructors 
      Constructor Description
      Factory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static RangeFileInStream create​(alluxio.client.file.FileInStream underlyingStream, long underlyingLength, S3RangeSpec range)  
      • Methods inherited from class java.lang.Object

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

      • Factory

        public Factory()
    • Method Detail

      • create

        public static RangeFileInStream create​(alluxio.client.file.FileInStream underlyingStream,
                                               long underlyingLength,
                                               S3RangeSpec range)
                                        throws java.io.IOException
        Parameters:
        underlyingStream - underlying stream
        underlyingLength - underlying steam length
        range - range read
        Returns:
        the stream for range read
        Throws:
        java.io.IOException