- copyToBufferBuilder
Copies the intermediate data serialization buffer to the given target buffer.
- serializeRecord
Starts serializing the given record to an intermediate data buffer.
- hasSerializedData
- prune
Clears the buffer and checks to decrease the size of intermediate data
serialization buffer after fi
- reset
Supports copying an intermediate data serialization buffer to multiple target
buffers by resetting i
- addRecord
Starts serializing and copying the given record to the target buffer (if
available).
- clear
Resets the target buffer to null and resets internal state set up for the record
to serialize.NOTE:
- flushToBufferBuilder
Flush all the intermediate data to the given target buffer.
- getCurrentBuffer
Retrieves the current target buffer and sets its size to the actual number of
written bytes. After c
- hasData
Determines whether data is left, either in the current target buffer or in any
internal state set up
- setNextBuffer
Sets a (next) target buffer to use and continues writing remaining data to it
until it is full.