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

Method writeHBaseLong

src/HBaseRpc.java:966–969  ·  view source on GitHub ↗

Writes a Long long as an HBase RPC parameter. @param buf The buffer to serialize the string to. @param v The value to serialize.

(final ChannelBuffer buf, final long v)

Source from the content-addressed store, hash-verified

964 * @param v The value to serialize.
965 */
966 static void writeHBaseLong(final ChannelBuffer buf, final long v) {
967 buf.writeByte(6); // Code for Long.class in HbaseObjectWritable
968 buf.writeLong(v);
969 }
970
971 /**
972 * Writes a {@link String} as an HBase RPC parameter.

Callers 5

serializeMethod · 0.80
serializeMethod · 0.80
serializeOldMethod · 0.80
serializeMethod · 0.80
serializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected