Package org.apache.hadoop.hbase.io
Class ByteBufferWriterDataOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
org.apache.hadoop.hbase.io.ByteBufferWriterDataOutputStream
- All Implemented Interfaces:
Closeable,DataOutput,Flushable,AutoCloseable,ByteBufferWriter
@Private
public class ByteBufferWriterDataOutputStream
extends DataOutputStream
implements ByteBufferWriter
Our extension of DataOutputStream which implements ByteBufferWriter
-
Field Summary
Fields inherited from class java.io.DataOutputStream
writtenFields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(ByteBuffer b, int off, int len) Writeslenbytes from the specified ByteBuffer starting at offsetoffMethods inherited from class java.io.DataOutputStream
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFMethods inherited from class java.io.FilterOutputStream
close, writeMethods inherited from class java.io.OutputStream
nullOutputStreamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.io.ByteBufferWriter
writeIntMethods inherited from interface java.io.DataOutput
write
-
Constructor Details
-
ByteBufferWriterDataOutputStream
-
-
Method Details
-
write
Description copied from interface:ByteBufferWriterWriteslenbytes from the specified ByteBuffer starting at offsetoff- Specified by:
writein interfaceByteBufferWriter- Parameters:
b- the data.off- the start offset in the data.len- the number of bytes to write.- Throws:
IOException- if an I/O error occurs.
-