java.lang.Object | ||
↳ | java.io.OutputStream | |
↳ | com.netflix.astyanax.serializers.ByteBufferOutputStream |
Utility to collect data written to an OutputStream in ByteBuffers. Originally from org.apache.avro.util.ByteBufferOutputStream, moved into Hector and added getByteBuffer to return single ByteBuffer from contents.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | BUFFER_SIZE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Append a list of ByteBuffers to this stream.
| |||||||||||
Returns all data written and resets the stream to be empty.
| |||||||||||
Prepend a list of ByteBuffers to this stream.
| |||||||||||
Add a buffer to the output without copying, if possible.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns all data written and resets the stream to be empty.
Add a buffer to the output without copying, if possible.