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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionBlobFsInputStream(String layerId, String objectId, com.here.platform.data.client.engine.scaladsl.ReadEngine readEngine, scala.concurrent.ExecutionContext executionContext, org.apache.pekko.stream.Materializer materializer) -
Method Summary
Methods inherited from class org.apache.hadoop.fs.FSInputStream
read, readFully, readFully, toStringMethods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferToMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.fs.PositionedReadable
maxReadSizeForVectorReads, minSeekForVectorReads, readVectored
-
Constructor Details
-
BlobFsInputStream
-
-
Method Details
-
seek
public void seek(long pos) - Specified by:
seekin interfaceorg.apache.hadoop.fs.Seekable- Specified by:
seekin classorg.apache.hadoop.fs.FSInputStream
-
getPos
public long getPos()- Specified by:
getPosin interfaceorg.apache.hadoop.fs.Seekable- Specified by:
getPosin classorg.apache.hadoop.fs.FSInputStream
-
seekToNewSource
public boolean seekToNewSource(long targetPos) - Specified by:
seekToNewSourcein interfaceorg.apache.hadoop.fs.Seekable- Specified by:
seekToNewSourcein classorg.apache.hadoop.fs.FSInputStream
-
read
public int read()- Specified by:
readin classInputStream
-
read
public int read(byte[] b, int off, int len) - Overrides:
readin classInputStream
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream
-