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

Method checkValue

src/KeyValue.java:396–398  ·  view source on GitHub ↗

Validates a value (the contents of an HBase cell). @throws IllegalArgumentException if the value is too big. @throws NullPointerException if the value is null.

(final byte[] value)

Source from the content-addressed store, hash-verified

394 * @throws NullPointerException if the value is {@code null}.
395 */
396 static void checkValue(final byte[] value) {
397 HBaseRpc.checkArrayLength(value);
398 }
399
400 // ---------------------- //
401 // Serialization helpers. //

Callers 4

CompareAndSetRequestMethod · 0.95
PutRequestMethod · 0.95
KeyValueMethod · 0.95
AppendRequestMethod · 0.95

Calls 1

checkArrayLengthMethod · 0.95

Tested by

no test coverage detected