Package net.opentsdb.uid.UniqueId

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


          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

    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

Related Classes of net.opentsdb.uid.UniqueId.UniqueIdType

Copyright © 2018 www.massapicom. 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.