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, validatePositionedReadArgs
available, close, mark, markSupported, read, read, reset, skip
public boolean isCallUnbuffer
private ParentClass()
public boolean getIsCallUnbuffer()
public void unbuffer()
unbuffer
in interface org.apache.hadoop.fs.CanUnbuffer
public int read() throws IOException
read
in class InputStream
IOException
public 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.HasEnhancedByteBufferAccess
IOException
UnsupportedOperationException
public void releaseBuffer(ByteBuffer paramByteBuffer)
releaseBuffer
in interface org.apache.hadoop.fs.HasEnhancedByteBufferAccess
public void setReadahead(Long paramLong) throws IOException, UnsupportedOperationException
setReadahead
in interface org.apache.hadoop.fs.CanSetReadahead
IOException
UnsupportedOperationException
public void setDropBehind(Boolean paramBoolean) throws IOException, UnsupportedOperationException
setDropBehind
in interface org.apache.hadoop.fs.CanSetDropBehind
IOException
UnsupportedOperationException
public int read(ByteBuffer paramByteBuffer) throws IOException
read
in interface org.apache.hadoop.fs.ByteBufferReadable
IOException
public void seek(long paramLong) throws IOException
seek
in interface org.apache.hadoop.fs.Seekable
seek
in class org.apache.hadoop.fs.FSInputStream
IOException
public long getPos() throws IOException
getPos
in interface org.apache.hadoop.fs.Seekable
getPos
in class org.apache.hadoop.fs.FSInputStream
IOException
public boolean seekToNewSource(long paramLong) throws IOException
seekToNewSource
in interface org.apache.hadoop.fs.Seekable
seekToNewSource
in class org.apache.hadoop.fs.FSInputStream
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.