MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / append

Method append

src/core/BatchedDataPoints.java:278–289  ·  view source on GitHub ↗

Appends the value and qualifier to the appropriate arrays @param next_qualifier The next qualifier to append @param next_value The next value to append

(final byte[] next_qualifier, final byte[] next_value)

Source from the content-addressed store, hash-verified

276 * @param next_value The next value to append
277 */
278 private void append(final byte[] next_qualifier, final byte[] next_value) {
279 ensureCapacity(next_qualifier, next_value);
280
281 // Now let's simply concatenate all the values together.
282 System.arraycopy(next_value, 0, batched_value, value_index, next_value.length);
283 value_index += next_value.length;
284
285 // Now let's concatenate all the qualifiers together.
286 System.arraycopy(next_qualifier, 0, batched_qualifier, qualifier_index,
287 next_qualifier.length);
288 qualifier_index += next_qualifier.length;
289 }
290
291 @Override
292 public String metricName() {

Callers 15

addPointInternalMethod · 0.95
toStringMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45
callMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45

Calls 1

ensureCapacityMethod · 0.95

Tested by

no test coverage detected