public class AlluxioHdfsInputStream extends FileInStream
| Constructor and Description |
|---|
AlluxioHdfsInputStream(org.apache.hadoop.fs.FSDataInputStream input) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
long |
getPos() |
void |
mark(int limit) |
boolean |
markSupported() |
int |
positionedRead(long position,
byte[] buffer,
int offset,
int length) |
int |
read() |
int |
read(byte[] bytes) |
int |
read(byte[] bytes,
int offset,
int length) |
int |
read(java.nio.ByteBuffer buf) |
long |
remaining() |
void |
reset() |
void |
seek(long position) |
long |
skip(long length) |
readpublic AlluxioHdfsInputStream(org.apache.hadoop.fs.FSDataInputStream input)
input - Hadoop FileSystem FSDataInputStreampublic int read(byte[] bytes)
throws java.io.IOException
read in class FileInStreamjava.io.IOExceptionpublic int read(byte[] bytes,
int offset,
int length)
throws java.io.IOException
read in class FileInStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class FileInStreamjava.io.IOExceptionpublic int read(java.nio.ByteBuffer buf)
throws java.io.IOException
read in class FileInStreamjava.io.IOExceptionpublic long skip(long length)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic void mark(int limit)
mark in class java.io.InputStreampublic void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.InputStreampublic void seek(long position)
throws java.io.IOException
java.io.IOExceptionpublic long getPos()
throws java.io.IOException
java.io.IOExceptionpublic long remaining()
public int positionedRead(long position,
byte[] buffer,
int offset,
int length)
throws java.io.IOException
java.io.IOExceptionCopyright © 2023. All Rights Reserved.