public class HdfsUnderFileInputStream extends SeekableUnderFileInputStream
in
Modifier and Type | Method and Description |
---|---|
long |
getPos() |
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, read, reset, skip
public void seek(long position) throws IOException
Seekable
position
- the position to seek to, it must be between 0 and the end of the stream - 1IOException
public long getPos() throws IOException
IOException
Copyright © 2023. All Rights Reserved.