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

Method getRollupTable

src/core/TsdbQuery.java:244–251  ·  view source on GitHub ↗

Which rollup table it scanned to get the final result. @since 2.4

()

Source from the content-addressed store, hash-verified

242 /** Which rollup table it scanned to get the final result.
243 * @since 2.4 */
244 public String getRollupTable() {
245 if (RollupQuery.isValidQuery(rollup_query)) {
246 return rollup_query.getRollupInterval().getInterval();
247 }
248 else {
249 return "raw";
250 }
251 }
252
253 /** Search the query on pre-aggregated table directly instead of post fetch
254 * aggregation.

Callers

nothing calls this directly

Calls 3

isValidQueryMethod · 0.95
getIntervalMethod · 0.45
getRollupIntervalMethod · 0.45

Tested by

no test coverage detected