Constructor. @param key The row key. Length must fit in 16 bits. @param family The column family. Length must fit in 8 bits. @param qualifier The column qualifier. @param timestamp Timestamp on the value. This timestamp can be set to guarantee ordering of values or operations. It is strongly adv
(final byte[] key,
final byte[] family, final byte[] qualifier,
final long timestamp,
//final byte type,
final byte[] value)
| 93 | * @since 1.2 |
| 94 | */ |
| 95 | public KeyValue(final byte[] key, |
| 96 | final byte[] family, final byte[] qualifier, |
| 97 | final long timestamp, |
| 98 | //final byte type, |
| 99 | final byte[] value) { |
| 100 | checkKey(key); |
| 101 | checkFamily(family); |
| 102 | checkQualifier(qualifier); |
| 103 | checkTimestamp(timestamp); |
| 104 | checkValue(value); |
| 105 | this.key = key; |
| 106 | this.family = family; |
| 107 | this.qualifier = qualifier; |
| 108 | this.value = value; |
| 109 | this.timestamp = timestamp; |
| 110 | //this.type = type; |
| 111 | } |
| 112 | |
| 113 | /** |
| 114 | * Constructor. |
nothing calls this directly
no test coverage detected