public class WebHdfsFileSystem.WebHdfsInputStream extends FSInputStream
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected int |
getBufferSize() |
long |
getFileLength() |
protected Path |
getPath() |
long |
getPos() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long newPos) |
boolean |
seekToNewSource(long targetPos) |
void |
setFileLength(long len) |
read, readFully, readFullyavailable, mark, markSupported, read, reset, skippublic int read() throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b, int off, int len) throws IOException
read in class InputStreamIOExceptionpublic void seek(long newPos) throws IOException
seek in interface Seekableseek in class FSInputStreamIOExceptionpublic long getPos() throws IOException
getPos in interface SeekablegetPos in class FSInputStreamIOExceptionprotected int getBufferSize() throws IOException
IOExceptionprotected Path getPath() throws IOException
IOExceptionpublic boolean seekToNewSource(long targetPos) throws IOException
seekToNewSource in class FSInputStreamIOExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void setFileLength(long len)
public long getFileLength()
Copyright © 2018 CERN. All Rights Reserved.