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

Method parseTSUIDQuery

src/tsd/QueryRpc.java:987–995  ·  view source on GitHub ↗
(final String query)

Source from the content-addressed store, hash-verified

985 }
986
987 public static LastPointSubQuery parseTSUIDQuery(final String query) {
988 final LastPointSubQuery sub_query = new LastPointSubQuery();
989 final String[] tsuids = query.split(",");
990 sub_query.tsuids = new ArrayList<String>(tsuids.length);
991 for (String tsuid : tsuids) {
992 sub_query.tsuids.add(tsuid);
993 }
994 return sub_query;
995 }
996
997 /** @return The name of the metric to search for */
998 public String getMetric() {

Callers 1

parseLastPointQueryMethod · 0.95

Calls 2

splitMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected