public class WebHdfsFileSystem.WebHdfsInputStream
extends org.apache.hadoop.fs.FSInputStream
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| protected int | getBufferSize() | 
| long | getFileLength() | 
| protected org.apache.hadoop.fs.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, readFully, toString, validatePositionedReadArgsavailable, 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 org.apache.hadoop.fs.Seekableseek in class org.apache.hadoop.fs.FSInputStreamIOExceptionpublic long getPos()
            throws IOException
getPos in interface org.apache.hadoop.fs.SeekablegetPos in class org.apache.hadoop.fs.FSInputStreamIOExceptionprotected int getBufferSize()
                     throws IOException
IOExceptionprotected org.apache.hadoop.fs.Path getPath()
                                     throws IOException
IOExceptionpublic boolean seekToNewSource(long targetPos)
                        throws IOException
seekToNewSource in class org.apache.hadoop.fs.FSInputStreamIOExceptionpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void setFileLength(long len)
public long getFileLength()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.