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

Method buildQueries

src/core/TSQuery.java:220–226  ·  view source on GitHub ↗

Compiles the TSQuery into an array of Query objects for execution. If the user has not set a down sampler explicitly, and they don't want millisecond resolution, then we set the down sampler to 1 second to handle situations where storage may have multiple data points per second. @param tsdb The tsdb

(final TSDB tsdb)

Source from the content-addressed store, hash-verified

218 * @return An array of queries
219 */
220 public Query[] buildQueries(final TSDB tsdb) {
221 try {
222 return buildQueriesAsync(tsdb).joinUninterruptibly();
223 } catch (final Exception e) {
224 throw new RuntimeException("Unexpected exception", e);
225 }
226 }
227
228 /**
229 * Compiles the TSQuery into an array of Query objects for execution.

Callers 3

mainMethod · 0.95
doGraphMethod · 0.95
runQueriesMethod · 0.80

Calls 1

buildQueriesAsyncMethod · 0.95

Tested by 1

runQueriesMethod · 0.64