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
FieldsFields inherited from interface org.apache.hadoop.fs.StreamCapabilities
DROPBEHIND, HFLUSH, HSYNC, PREADBYTEBUFFER, READAHEAD, READBYTEBUFFER, UNBUFFER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetPos()booleanintread()intread(ByteBuffer paramByteBuffer) read(org.apache.hadoop.io.ByteBufferPool paramByteBufferPool, int paramInt, EnumSet<org.apache.hadoop.fs.ReadOption> paramEnumSet) voidreleaseBuffer(ByteBuffer paramByteBuffer) voidseek(long paramLong) booleanseekToNewSource(long paramLong) voidsetDropBehind(Boolean paramBoolean) voidsetReadahead(Long paramLong) voidunbuffer()Methods inherited from class org.apache.hadoop.fs.FSInputStream
read, readFully, readFully, validatePositionedReadArgsMethods 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:
unbufferin interfaceorg.apache.hadoop.fs.CanUnbuffer
-
read
- Specified by:
readin 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:
readin interfaceorg.apache.hadoop.fs.HasEnhancedByteBufferAccess- Throws:
IOExceptionUnsupportedOperationException
-
releaseBuffer
- Specified by:
releaseBufferin interfaceorg.apache.hadoop.fs.HasEnhancedByteBufferAccess
-
setReadahead
- Specified by:
setReadaheadin interfaceorg.apache.hadoop.fs.CanSetReadahead- Throws:
IOExceptionUnsupportedOperationException
-
setDropBehind
- Specified by:
setDropBehindin interfaceorg.apache.hadoop.fs.CanSetDropBehind- Throws:
IOExceptionUnsupportedOperationException
-
read
- Specified by:
readin interfaceorg.apache.hadoop.fs.ByteBufferReadable- Throws:
IOException
-
seek
- Specified by:
seekin interfaceorg.apache.hadoop.fs.Seekable- Specified by:
seekin classorg.apache.hadoop.fs.FSInputStream- Throws:
IOException
-
getPos
- Specified by:
getPosin interfaceorg.apache.hadoop.fs.Seekable- Specified by:
getPosin classorg.apache.hadoop.fs.FSInputStream- Throws:
IOException
-
seekToNewSource
- Specified by:
seekToNewSourcein interfaceorg.apache.hadoop.fs.Seekable- Specified by:
seekToNewSourcein classorg.apache.hadoop.fs.FSInputStream- Throws:
IOException
-
hasCapability
- Specified by:
hasCapabilityin interfaceorg.apache.hadoop.fs.StreamCapabilities
-