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

Method setBaseTime

src/core/Internal.java:146–149  ·  view source on GitHub ↗

Sets the time in a raw data table row key @param row The row to modify @param base_time The base time to store @since 2.3

(final byte[] row, int base_time)

Source from the content-addressed store, hash-verified

144 * @since 2.3
145 */
146 public static void setBaseTime(final byte[] row, int base_time) {
147 Bytes.setInt(row, base_time, Const.SALT_WIDTH() +
148 TSDB.metrics_width());
149 }
150
151 /** @see Tags#getTags */
152 public static Map<String, String> getTags(final TSDB tsdb, final byte[] row) {

Callers 15

rollup10mMethod · 0.95
rollup10mDoubleMethod · 0.95
rollup10mFloatMethod · 0.95
rollupAvg10mWithCountMethod · 0.95

Calls 2

SALT_WIDTHMethod · 0.95
metrics_widthMethod · 0.95

Tested by 15

rollup10mMethod · 0.76
rollup10mDoubleMethod · 0.76
rollup10mFloatMethod · 0.76
rollupAvg10mWithCountMethod · 0.76