public class HadoopIgfsProxyInputStream extends InputStream implements Seekable, PositionedReadable
| Constructor and Description |
|---|
HadoopIgfsProxyInputStream(FSDataInputStream is,
IgfsLogger clientLog,
long logStreamId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
long |
getPos() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
int |
read(long pos,
byte[] buf,
int off,
int len) |
void |
readFully(long pos,
byte[] buf) |
void |
readFully(long pos,
byte[] buf,
int off,
int len) |
void |
reset() |
void |
seek(long pos) |
boolean |
seekToNewSource(long targetPos) |
long |
skip(long n) |
public HadoopIgfsProxyInputStream(FSDataInputStream is, IgfsLogger clientLog, long logStreamId)
is - Actual input stream to the secondary file system.clientLog - Client log.public int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int readLimit)
mark in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(long pos,
byte[] buf,
int off,
int len)
throws IOException
read in interface PositionedReadableIOExceptionpublic void readFully(long pos,
byte[] buf,
int off,
int len)
throws IOException
readFully in interface PositionedReadableIOExceptionpublic void readFully(long pos,
byte[] buf)
throws IOException
readFully in interface PositionedReadableIOExceptionpublic void seek(long pos)
throws IOException
seek in interface SeekableIOExceptionpublic long getPos()
throws IOException
getPos in interface SeekableIOExceptionpublic boolean seekToNewSource(long targetPos)
throws IOException
seekToNewSource in interface SeekableIOException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019