Class BlobFsInputStream

java.lang.Object
java.io.InputStream
org.apache.hadoop.fs.FSInputStream
com.here.platform.data.client.hdfs.streams.BlobFsInputStream
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.fs.PositionedReadable, org.apache.hadoop.fs.Seekable

public class BlobFsInputStream extends org.apache.hadoop.fs.FSInputStream
  • Constructor Details

    • BlobFsInputStream

      public BlobFsInputStream(String layerId, String objectId, com.here.platform.data.client.engine.scaladsl.ReadEngine readEngine, scala.concurrent.ExecutionContext executionContext, org.apache.pekko.stream.Materializer materializer)
  • Method Details

    • seek

      public void seek(long pos)
      Specified by:
      seek in interface org.apache.hadoop.fs.Seekable
      Specified by:
      seek in class org.apache.hadoop.fs.FSInputStream
    • getPos

      public long getPos()
      Specified by:
      getPos in interface org.apache.hadoop.fs.Seekable
      Specified by:
      getPos in class org.apache.hadoop.fs.FSInputStream
    • seekToNewSource

      public boolean seekToNewSource(long targetPos)
      Specified by:
      seekToNewSource in interface org.apache.hadoop.fs.Seekable
      Specified by:
      seekToNewSource in class org.apache.hadoop.fs.FSInputStream
    • read

      public int read()
      Specified by:
      read in class InputStream
    • read

      public int read(byte[] b, int off, int len)
      Overrides:
      read in class InputStream
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class InputStream