org.apache.accumulo.server.trace
in
Constructor and Description |
---|
TraceFSDataInputStream(org.apache.hadoop.fs.FSDataInputStream in) |
Modifier and Type | Method and Description |
---|---|
int |
read(long position,
byte[] buffer,
int offset,
int length) |
void |
readFully(long position,
byte[] buffer) |
void |
readFully(long position,
byte[] buffer,
int offset,
int length) |
void |
seek(long desired) |
boolean |
seekToNewSource(long targetPos) |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
available, close, mark, markSupported, read, reset, skip
public TraceFSDataInputStream(org.apache.hadoop.fs.FSDataInputStream in) throws IOException
IOException
public void seek(long desired) throws IOException
seek
in interface org.apache.hadoop.fs.Seekable
seek
in class org.apache.hadoop.fs.FSDataInputStream
IOException
public int read(long position, byte[] buffer, int offset, int length) throws IOException
read
in interface org.apache.hadoop.fs.PositionedReadable
read
in class org.apache.hadoop.fs.FSDataInputStream
IOException
public void readFully(long position, byte[] buffer, int offset, int length) throws IOException
readFully
in interface org.apache.hadoop.fs.PositionedReadable
readFully
in class org.apache.hadoop.fs.FSDataInputStream
IOException
public void readFully(long position, byte[] buffer) throws IOException
readFully
in interface org.apache.hadoop.fs.PositionedReadable
readFully
in class org.apache.hadoop.fs.FSDataInputStream
IOException
public boolean seekToNewSource(long targetPos) throws IOException
seekToNewSource
in interface org.apache.hadoop.fs.Seekable
seekToNewSource
in class org.apache.hadoop.fs.FSDataInputStream
IOException
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.