Examples of UniqueIdType


Examples of net.opentsdb.uid.UniqueId.UniqueIdType

          final List<byte[]> tags = UniqueId.getTagPairsFromTSUID(
              tsuid_string, TSDB.metrics_width(), TSDB.tagk_width(),
              TSDB.tagv_width());
          int idx = 0;
          for (byte[] tag : tags) {
            final UniqueIdType type = (idx % 2 == 0) ? UniqueIdType.TAGK :
              UniqueIdType.TAGV;
            idx++;
            final String uid = UniqueId.uidToString(tag);
           
            // check the maps to see if we need to bother updating
View Full Code Here

Examples of net.opentsdb.uid.UniqueId.UniqueIdType

          final List<byte[]> tags = UniqueId.getTagPairsFromTSUID(
              tsuid_string, TSDB.metrics_width(), TSDB.tagk_width(),
              TSDB.tagv_width());
          int idx = 0;
          for (byte[] tag : tags) {
            final UniqueIdType type = (idx % 2 == 0) ? UniqueIdType.TAGK :
              UniqueIdType.TAGV;
            idx++;
            final String uid = UniqueId.uidToString(tag);
           
            // check the maps to see if we need to bother updating
View Full Code Here

Examples of net.opentsdb.uid.UniqueId.UniqueIdType

    final HttpMethod method = query.getAPIMethod();
    // GET
    if (method == HttpMethod.GET) {
     
      final String uid = query.getRequiredQueryStringParam("uid");
      final UniqueIdType type = UniqueId.stringToUniqueIdType(
          query.getRequiredQueryStringParam("type"));
      try {
        final UIDMeta meta = UIDMeta.getUIDMeta(tsdb, type, uid)
        .joinUninterruptibly();
        query.sendReply(query.serializer().formatUidMetaV1(meta));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.