public class HdfsUnderFileInputStream extends SeekableUnderFileInputStream
in
Modifier and Type | Method and Description |
---|---|
long |
getPos() |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long position)
Moves the starting read position of the stream to the specified position which is relative to
the start of the stream.
|
available, close, mark, markSupported, read, read, reset, skip
public void seek(long position)
Seekable
position
- the position to seek to, it must be between 0 and the end of the stream - 1public long getPos() throws IOException
IOException
public int read(byte[] b, int off, int len)
read
in class FilterInputStream
Copyright © 2023. All Rights Reserved.