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

Method PutRequest

src/PutRequest.java:110–117  ·  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 #PutRequest(byte[], byte[], byte[], byte[], byte[], long) instead. This constructor will let the RegionServer assign the timestamp to this write at the

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

Source from the content-addressed store, hash-verified

108 * @param value The value to store.
109 */
110 public PutRequest(final byte[] table,
111 final byte[] key,
112 final byte[] family,
113 final byte[] qualifier,
114 final byte[] value) {
115 this(table, key, family, qualifier, value,
116 KeyValue.TIMESTAMP_NOW, RowLock.NO_LOCK);
117 }
118
119 /**
120 * 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