private class TestFSDataInputStreamWrapper.ParentClass extends org.apache.hadoop.fs.FSInputStream implements org.apache.hadoop.fs.ByteBufferReadable, org.apache.hadoop.fs.CanSetDropBehind, org.apache.hadoop.fs.CanSetReadahead, org.apache.hadoop.fs.HasEnhancedByteBufferAccess, org.apache.hadoop.fs.CanUnbuffer
| Modifier and Type | Field and Description | 
|---|---|
boolean | 
isCallUnbuffer  | 
| Modifier | Constructor and Description | 
|---|---|
private  | 
ParentClass()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
getIsCallUnbuffer()  | 
long | 
getPos()  | 
int | 
read()  | 
int | 
read(ByteBuffer paramByteBuffer)  | 
ByteBuffer | 
read(org.apache.hadoop.io.ByteBufferPool paramByteBufferPool,
    int paramInt,
    EnumSet<org.apache.hadoop.fs.ReadOption> paramEnumSet)  | 
void | 
releaseBuffer(ByteBuffer paramByteBuffer)  | 
void | 
seek(long paramLong)  | 
boolean | 
seekToNewSource(long paramLong)  | 
void | 
setDropBehind(Boolean paramBoolean)  | 
void | 
setReadahead(Long paramLong)  | 
void | 
unbuffer()  | 
read, readFully, readFully, validatePositionedReadArgsavailable, close, mark, markSupported, read, read, reset, skippublic boolean isCallUnbuffer
private ParentClass()
public boolean getIsCallUnbuffer()
public void unbuffer()
unbuffer in interface org.apache.hadoop.fs.CanUnbufferpublic int read() throws IOException
read in class InputStreamIOExceptionpublic ByteBuffer read(org.apache.hadoop.io.ByteBufferPool paramByteBufferPool, int paramInt, EnumSet<org.apache.hadoop.fs.ReadOption> paramEnumSet) throws IOException, UnsupportedOperationException
read in interface org.apache.hadoop.fs.HasEnhancedByteBufferAccessIOExceptionUnsupportedOperationExceptionpublic void releaseBuffer(ByteBuffer paramByteBuffer)
releaseBuffer in interface org.apache.hadoop.fs.HasEnhancedByteBufferAccesspublic void setReadahead(Long paramLong) throws IOException, UnsupportedOperationException
setReadahead in interface org.apache.hadoop.fs.CanSetReadaheadIOExceptionUnsupportedOperationExceptionpublic void setDropBehind(Boolean paramBoolean) throws IOException, UnsupportedOperationException
setDropBehind in interface org.apache.hadoop.fs.CanSetDropBehindIOExceptionUnsupportedOperationExceptionpublic int read(ByteBuffer paramByteBuffer) throws IOException
read in interface org.apache.hadoop.fs.ByteBufferReadableIOExceptionpublic void seek(long paramLong) 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.FSInputStreamIOExceptionpublic boolean seekToNewSource(long paramLong) throws IOException
seekToNewSource in interface org.apache.hadoop.fs.SeekableseekToNewSource in class org.apache.hadoop.fs.FSInputStreamIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.