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

Method isValidQuery

src/rollup/RollupQuery.java:162–165  ·  view source on GitHub ↗

Does it contain a valid rollup interval, mainly says it is not the default rollup. Default rollup is of same resolution as raw data. So if true, which means the raw cell column qualifier is encoded with the aggregate function and the cell is not appended or compacted @param rollup_query related Roll

(final RollupQuery rollup_query)

Source from the content-addressed store, hash-verified

160 * @return true if it is rollup query
161 */
162 public static boolean isValidQuery(final RollupQuery rollup_query) {
163 return (rollup_query != null && rollup_query.rollup_interval != null &&
164 !rollup_query.rollup_interval.isDefaultInterval());
165 }
166
167 /**
168 * Rollup aggregate prefix

Callers 15

getRollupTableMethod · 0.95
isRollupQueryMethod · 0.95
callMethod · 0.95
callMethod · 0.95
getScannerMethod · 0.95
tableToBeScannedMethod · 0.95
toStringMethod · 0.95
isRollupQueryMethod · 0.95
SaltScannerMethod · 0.95
mergeDataPointsMethod · 0.95
processRowMethod · 0.95
MultiGetQueryMethod · 0.95

Calls 1

isDefaultIntervalMethod · 0.80

Tested by

no test coverage detected