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

Method AppendRequest

src/AppendRequest.java:117–124  ·  view source on GitHub ↗

Constructor using current time. These byte arrays will NOT be copied. Note: If you want to set your own timestamp, use #AppendRequest(byte[], byte[], byte[], byte[], byte[], long) instead. This constructor will let the RegionServer assign the timestamp to this write at

(final byte[] table,
                    final byte[] key,
                    final byte[] family,
                    final byte[] qualifier,
                    final byte[] value)

Source from the content-addressed store, hash-verified

115 * @param value The value to store.
116 */
117 public AppendRequest(final byte[] table,
118 final byte[] key,
119 final byte[] family,
120 final byte[] qualifier,
121 final byte[] value) {
122 this(table, key, family, qualifier, value, KeyValue.TIMESTAMP_NOW,
123 RowLock.NO_LOCK);
124 }
125
126 /**
127 * Constructor for multiple columns using current time.

Callers

nothing calls this directly

Calls 9

checkFamilyMethod · 0.95
checkQualifierMethod · 0.95
checkValueMethod · 0.95
idMethod · 0.80
keyMethod · 0.65
familyMethod · 0.65
timestampMethod · 0.65
qualifierMethod · 0.65
valueMethod · 0.65

Tested by

no test coverage detected