public class SeekableBAIS extends ByteArrayInputStream implements org.apache.hadoop.fs.Seekable
buf, count, mark, pos| Constructor and Description |
|---|
SeekableBAIS(byte[] buf) |
SeekableBAIS(byte[] buf,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPos() |
void |
seek(long pos) |
boolean |
seekToNewSource(long targetPos) |
available, close, mark, markSupported, read, read, reset, skipreadpublic SeekableBAIS(byte[] buf,
int offset,
int length)
public SeekableBAIS(byte[] buf)
public void seek(long pos)
throws IOException
seek in interface org.apache.hadoop.fs.SeekableIOExceptionpublic long getPos()
throws IOException
getPos in interface org.apache.hadoop.fs.SeekableIOExceptionpublic boolean seekToNewSource(long targetPos)
throws IOException
seekToNewSource in interface org.apache.hadoop.fs.SeekableIOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.