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

Method getTSUIDString

test/core/BaseTsdbTest.java:543–545  ·  view source on GitHub ↗

Generates a TSUID given the metric and tag UIDs. @param metric A metric UID. @param tags A set of UIDs @return A TSUID as a hex string

(final byte[] metric, final byte[]... tags)

Source from the content-addressed store, hash-verified

541 * @return A TSUID as a hex string
542 */
543 public static String getTSUIDString(final byte[] metric, final byte[]... tags) {
544 return UniqueId.uidToString(getTSUID(metric, tags));
545 }
546
547 /**
548 * Generates a TSUID given the mocked UID strings.

Callers 5

runWithAnnotationMethod · 0.80
runWithOnlyAnnotationMethod · 0.80
runTSUIDQueryMethod · 0.80
runTSUIDsAggSumMethod · 0.80
runTSUIDQueryNoDataMethod · 0.80

Calls 2

uidToStringMethod · 0.95
getTSUIDMethod · 0.95

Tested by

no test coverage detected