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

Method serializePayload

src/AppendRequest.java:488–495  ·  view source on GitHub ↗
(final ChannelBuffer buf)

Source from the content-addressed store, hash-verified

486 }
487
488 @Override
489 void serializePayload(final ChannelBuffer buf) {
490 for (int i = 0; i < qualifiers.length; i++) {
491 //HBASE KeyValue (org.apache.hadoop.hbase.KeyValue) doesn't have an Append Type
492 KeyValue.serialize(buf, KeyValue.PUT, timestamp, key, family,
493 qualifiers[i], values[i]);
494 }
495 }
496
497 /**
498 * Predicts a lower bound on the serialized size of this RPC.

Callers 1

serializeIntoMethod · 0.95

Calls 1

serializeMethod · 0.95

Tested by

no test coverage detected