MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / serialize

Method serialize

src/KeyValue.java:409–411  ·  view source on GitHub ↗

Serializes this KeyValue. @param buf The buffer into which to write the serialized form. @param type What kind of KV (e.g. #PUT or DELETE_FAMILY).

(final ChannelBuffer buf, final byte type)

Source from the content-addressed store, hash-verified

407 * @param type What kind of KV (e.g. {@link #PUT} or {@link DELETE_FAMILY}).
408 */
409 void serialize(final ChannelBuffer buf, final byte type) {
410 serialize(buf, type, timestamp, key, family, qualifier, value);
411 }
412
413 /**
414 * Returns the serialized length of a KeyValue.

Callers 3

serializePayloadMethod · 0.95
serializePayloadMethod · 0.95
serializePayloadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected