net.opentsdb.core
public final class Const extends Object
| Modifier and Type | Field and Description | 
|---|---|
static short | 
FLAG_BITS
Number of LSBs in time_deltas reserved for flags. 
 | 
static short | 
FLAG_FLOAT
When this bit is set, the value is a floating point value. 
 | 
static short | 
FLAGS_MASK
Mask to select all the FLAG_BITS. 
 | 
static byte[] | 
HEX
Array containing the hexadecimal characters (0 to 9, A to F). 
 | 
static short | 
LENGTH_MASK
Mask to select the size of a value from the qualifier. 
 | 
static long | 
MAX_INT_IN_DOUBLE
Necessary for rate calculations where we may be trying to convert a 
 large Long value to a double. 
 | 
static short | 
MAX_NUM_TAGS
Maximum number of tags allowed per data point. 
 | 
static short | 
MAX_TIMESPAN
Max time delta (in seconds) we can store in a column qualifier. 
 | 
static long | 
MILLISECOND_MASK
Mask to verify a timestamp on 6 bytes in milliseconds 
 | 
static byte | 
MS_BYTE_FLAG
Mask for the millisecond qualifier flag 
 | 
static int | 
MS_FLAG
Flag to set on millisecond qualifier timestamps 
 | 
static short | 
MS_FLAG_BITS
Number of LSBs in time_deltas reserved for flags. 
 | 
static byte | 
MS_MIXED_COMPACT
Flag to determine if a compacted column is a mix of seconds and ms 
 | 
static long | 
SECOND_MASK
Mask to verify a timestamp on 4 bytes in seconds 
 | 
static short | 
TIMESTAMP_BYTES
Number of bytes on which a timestamp is encoded. 
 | 
| Constructor and Description | 
|---|
Const()  | 
public static final short TIMESTAMP_BYTES
public static final short MAX_NUM_TAGS
public static final short FLAG_BITS
public static final short MS_FLAG_BITS
public static final short FLAG_FLOAT
public static final short LENGTH_MASK
public static final byte MS_BYTE_FLAG
public static final int MS_FLAG
public static final byte MS_MIXED_COMPACT
public static final short FLAGS_MASK
public static final long SECOND_MASK
public static final long MILLISECOND_MASK
public static final short MAX_TIMESPAN
public static final byte[] HEX
public static final long MAX_INT_IN_DOUBLE