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

Method justMetrics

test/query/pojo/TestQuery.java:218–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216 }
217
218 @Test
219 public void justMetrics() throws Exception {
220 Query query = Query.Builder()
221 .setMetrics(Arrays.asList(metric))
222 .setName("q1")
223 .setTime(time)
224 .build();
225 query.validate();
226 assertEquals(metric.getMetric(), query.getMetrics().get(0).getMetric());
227 }
228
229
230 private Query.Builder getDefaultQueryBuilder() {

Callers

nothing calls this directly

Calls 9

BuilderMethod · 0.95
validateMethod · 0.95
getMetricsMethod · 0.95
setMetricsMethod · 0.80
buildMethod · 0.45
setTimeMethod · 0.45
setNameMethod · 0.45
getMetricMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected