public class BaseAggregationTimeUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
AGGREGATION_TIME_INTERVAL |
Constructor and Description |
---|
BaseAggregationTimeUtil() |
Modifier and Type | Method and Description |
---|---|
static long |
alignQueryTimestampToBaseAggregationTime(long queryTimestamp) |
static long |
calcBaseAggregationTimestamp(long timestamp) |
static long |
calcMaxRawTimestampOfBaseAggregationTimestamp(long baseAggregationTimestamp) |
static long |
calcMinRawTimestampOfBaseAggregationTimestamp(long baseAggregationTimestamp) |
static boolean |
isBaseAggregationTimestamp(long timestamp) |
public static final int AGGREGATION_TIME_INTERVAL
public static long calcBaseAggregationTimestamp(long timestamp)
public static boolean isBaseAggregationTimestamp(long timestamp)
public static long alignQueryTimestampToBaseAggregationTime(long queryTimestamp)
public static long calcMinRawTimestampOfBaseAggregationTimestamp(long baseAggregationTimestamp)
public static long calcMaxRawTimestampOfBaseAggregationTimestamp(long baseAggregationTimestamp)