MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / qualifierOffset

Method qualifierOffset

src/core/BatchedDataPoints.java:403–409  ·  view source on GitHub ↗

Computes the proper offset to reach qualifier @param i @return

(final int i)

Source from the content-addressed store, hash-verified

401 * @return
402 */
403 private int qualifierOffset(final int i) {
404 int offset = 0;
405 for (int j = 0; j < i; j++) {
406 offset += Internal.getQualifierLength(batched_qualifier, offset);
407 }
408 return offset;
409 }
410
411 @Override
412 public long timestamp(final int i) {

Callers 2

timestampMethod · 0.95
isIntegerMethod · 0.95

Calls 1

getQualifierLengthMethod · 0.95

Tested by

no test coverage detected