Package org.apache.hadoop.hbase.io
Class TestFSDataInputStreamWrapper.ParentClass
java.lang.Object
java.io.InputStream
org.apache.hadoop.fs.FSInputStream
org.apache.hadoop.hbase.io.TestFSDataInputStreamWrapper.ParentClass
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hadoop.fs.ByteBufferReadable
,org.apache.hadoop.fs.CanSetDropBehind
,org.apache.hadoop.fs.CanSetReadahead
,org.apache.hadoop.fs.CanUnbuffer
,org.apache.hadoop.fs.HasEnhancedByteBufferAccess
,org.apache.hadoop.fs.PositionedReadable
,org.apache.hadoop.fs.Seekable
,org.apache.hadoop.fs.StreamCapabilities
- Enclosing class:
- TestFSDataInputStreamWrapper
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, org.apache.hadoop.fs.StreamCapabilities
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.fs.StreamCapabilities
org.apache.hadoop.fs.StreamCapabilities.StreamCapability
-
Field Summary
Fields inherited from interface org.apache.hadoop.fs.StreamCapabilities
DROPBEHIND, HFLUSH, HSYNC, PREADBYTEBUFFER, READAHEAD, READBYTEBUFFER, UNBUFFER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
getPos()
boolean
int
read()
int
read
(ByteBuffer paramByteBuffer) 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()
Methods inherited from class org.apache.hadoop.fs.FSInputStream
read, readFully, readFully, validatePositionedReadArgs
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
-
Field Details
-
isCallUnbuffer
-
-
Constructor Details
-
ParentClass
private ParentClass()
-
-
Method Details
-
getIsCallUnbuffer
-
unbuffer
- Specified by:
unbuffer
in interfaceorg.apache.hadoop.fs.CanUnbuffer
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
public ByteBuffer read(org.apache.hadoop.io.ByteBufferPool paramByteBufferPool, int paramInt, EnumSet<org.apache.hadoop.fs.ReadOption> paramEnumSet) throws IOException, UnsupportedOperationException - Specified by:
read
in interfaceorg.apache.hadoop.fs.HasEnhancedByteBufferAccess
- Throws:
IOException
UnsupportedOperationException
-
releaseBuffer
- Specified by:
releaseBuffer
in interfaceorg.apache.hadoop.fs.HasEnhancedByteBufferAccess
-
setReadahead
- Specified by:
setReadahead
in interfaceorg.apache.hadoop.fs.CanSetReadahead
- Throws:
IOException
UnsupportedOperationException
-
setDropBehind
- Specified by:
setDropBehind
in interfaceorg.apache.hadoop.fs.CanSetDropBehind
- Throws:
IOException
UnsupportedOperationException
-
read
- Specified by:
read
in interfaceorg.apache.hadoop.fs.ByteBufferReadable
- Throws:
IOException
-
seek
- Specified by:
seek
in interfaceorg.apache.hadoop.fs.Seekable
- Specified by:
seek
in classorg.apache.hadoop.fs.FSInputStream
- Throws:
IOException
-
getPos
- Specified by:
getPos
in interfaceorg.apache.hadoop.fs.Seekable
- Specified by:
getPos
in classorg.apache.hadoop.fs.FSInputStream
- Throws:
IOException
-
seekToNewSource
- Specified by:
seekToNewSource
in interfaceorg.apache.hadoop.fs.Seekable
- Specified by:
seekToNewSource
in classorg.apache.hadoop.fs.FSInputStream
- Throws:
IOException
-
hasCapability
- Specified by:
hasCapability
in interfaceorg.apache.hadoop.fs.StreamCapabilities
-