MCPcopy
hub / github.com/OpenTSDB/opentsdb / put

Method put

src/core/TSDB.java:2207–2212  ·  view source on GitHub ↗

Puts the given value into the data table.

(final byte[] key,
                             final byte[] qualifier,
                             final byte[] value,
                             long timestamp)

Source from the content-addressed store, hash-verified

2205
2206 /** Puts the given value into the data table. */
2207 final Deferred<Object> put(final byte[] key,
2208 final byte[] qualifier,
2209 final byte[] value,
2210 long timestamp) {
2211 return client.put(RequestBuilder.buildPutRequest(config, table, key, FAMILY, qualifier, value, timestamp));
2212 }
2213
2214 /** Deletes the given cells from the data table. */
2215 final Deferred<Object> delete(final byte[] key, final byte[][] qualifiers) {

Callers 15

contentToPropsMethod · 0.80
configToContentMethod · 0.80
writeDataMethod · 0.80
noErrorsMillisecondsMethod · 0.80
noErrorsAnnotationMethod · 0.80
serializeToStringMethod · 0.80
serializeToBytesMethod · 0.80
serializeToJSONStringMethod · 0.80
serializeToJSONPBytesMethod · 0.80
parseToMapMethod · 0.80

Calls 1

buildPutRequestMethod · 0.95

Tested by 15

contentToPropsMethod · 0.64
configToContentMethod · 0.64
writeDataMethod · 0.64
noErrorsMillisecondsMethod · 0.64
noErrorsAnnotationMethod · 0.64
serializeToStringMethod · 0.64
serializeToBytesMethod · 0.64
serializeToJSONStringMethod · 0.64
serializeToJSONPBytesMethod · 0.64
parseToMapMethod · 0.64