Class TestBlockIOUtils.MyFSDataInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
org.apache.hadoop.fs.FSDataInputStream
org.apache.hadoop.hbase.io.hfile.TestBlockIOUtils.MyFSDataInputStream
All Implemented Interfaces:
Closeable, DataInput, AutoCloseable, org.apache.hadoop.fs.ByteBufferPositionedReadable, 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.HasFileDescriptor, org.apache.hadoop.fs.PositionedReadable, org.apache.hadoop.fs.Seekable, org.apache.hadoop.fs.statistics.IOStatisticsSource, org.apache.hadoop.fs.StreamCapabilities
Enclosing class:
TestBlockIOUtils

public static class TestBlockIOUtils.MyFSDataInputStream extends org.apache.hadoop.fs.FSDataInputStream
  • Constructor Details

  • Method Details

    • read

      public int read(long position, ByteBuffer buf) throws IOException
      Specified by:
      read in interface org.apache.hadoop.fs.ByteBufferPositionedReadable
      Overrides:
      read in class org.apache.hadoop.fs.FSDataInputStream
      Throws:
      IOException