Package deltix.qsrv.hf.pub.md
Class TimebaseTypes
- java.lang.Object
-
- deltix.qsrv.hf.pub.md.TimebaseTypes
-
public final class TimebaseTypes extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TimebaseTypes.TypesContainer<T extends DataType>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TimebaseTypes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArrayDataType
copy(ArrayDataType dataType, boolean nullable, boolean elementNullable)
static BinaryDataType
copy(BinaryDataType dataType, boolean nullable)
static BooleanDataType
copy(BooleanDataType dataType, boolean nullable)
static CharDataType
copy(CharDataType dataType, boolean nullable)
static ClassDataType
copy(ClassDataType dataType, boolean nullable)
static DataType
copy(DataType dataType, boolean nullable)
static DateTimeDataType
copy(DateTimeDataType dataType, boolean nullable)
static EnumDataType
copy(EnumDataType dataType, boolean nullable)
static FloatDataType
copy(FloatDataType dataType, boolean nullable)
static IntegerDataType
copy(IntegerDataType dataType, boolean nullable)
static TimeOfDayDataType
copy(TimeOfDayDataType dataType, boolean nullable)
static VarcharDataType
copy(VarcharDataType dataType, boolean nullable)
static EnumClassDescriptor
extractEnumClassDescriptor(DataType dataType)
static ArrayDataType[]
getAllArrayNullableTypes()
static ArrayDataType
getBooleanArrayType(boolean isNullable, boolean isElementNullable)
static BooleanDataType
getBooleanType(boolean isNullable)
static ArrayDataType
getIntegerArrayDataType(int nativeSize, boolean isNullable, boolean isElementNullable)
static IntegerDataType
getIntegerDataType(int nativeSize, boolean isNullable)
static boolean
isBooleanNull(byte v)
static boolean
isBooleanOrBooleanArray(DataType type)
static boolean
isCharOrCharArray(DataType type)
static boolean
isDateTimeNull(long v)
static boolean
isDateTimeOrDateTimeArray(DataType type)
static boolean
isDecimalNull(long v)
static boolean
isEnumOrEnumArray(DataType type)
static boolean
isNull(byte v)
static boolean
isNull(double v)
static boolean
isNull(float v)
static boolean
isNull(int v)
static boolean
isNull(long v)
static boolean
isNull(short v)
static boolean
isNull(java.lang.Object o)
static boolean
isObjectOrObjectArray(DataType type)
static boolean
isResultNullable(DataType type1, DataType type2)
static boolean
isTimeOfDayNull(int v)
static boolean
isTimeOfDayOrTimeOfDayArray(DataType type)
static boolean
isVarcharOrVarcharArray(DataType type)
static java.lang.String
toSimpleName(DataType type)
-
-
-
Field Detail
-
INT8_NULL
public static final byte INT8_NULL
- See Also:
- Constant Field Values
-
INT16_NULL
public static final short INT16_NULL
- See Also:
- Constant Field Values
-
INT32_NULL
public static final int INT32_NULL
- See Also:
- Constant Field Values
-
INT64_NULL
public static final long INT64_NULL
- See Also:
- Constant Field Values
-
FLOAT32_NULL
public static final float FLOAT32_NULL
- See Also:
- Constant Field Values
-
FLOAT64_NULL
public static final double FLOAT64_NULL
- See Also:
- Constant Field Values
-
DECIMAL64_NULL
public static final long DECIMAL64_NULL
- See Also:
- Constant Field Values
-
CHAR_NULL
public static final char CHAR_NULL
- See Also:
- Constant Field Values
-
DATETIME_NULL
@TimestampMs public static final long DATETIME_NULL
- See Also:
- Constant Field Values
-
TIMEOFDAY_NULL
public static final int TIMEOFDAY_NULL
- See Also:
- Constant Field Values
-
BOOLEAN_NULL
@Bool public static final byte BOOLEAN_NULL
- See Also:
- Constant Field Values
-
ALPHANUMERIC_NULL
@Alphanumeric public static final long ALPHANUMERIC_NULL
- See Also:
- Constant Field Values
-
INT8_CONTAINER
public static final TimebaseTypes.TypesContainer<IntegerDataType> INT8_CONTAINER
-
INT16_CONTAINER
public static final TimebaseTypes.TypesContainer<IntegerDataType> INT16_CONTAINER
-
INT32_CONTAINER
public static final TimebaseTypes.TypesContainer<IntegerDataType> INT32_CONTAINER
-
INT64_CONTAINER
public static final TimebaseTypes.TypesContainer<IntegerDataType> INT64_CONTAINER
-
FLOAT32_CONTAINER
public static final TimebaseTypes.TypesContainer<FloatDataType> FLOAT32_CONTAINER
-
FLOAT64_CONTAINER
public static final TimebaseTypes.TypesContainer<FloatDataType> FLOAT64_CONTAINER
-
DECIMAL64_CONTAINER
public static final TimebaseTypes.TypesContainer<FloatDataType> DECIMAL64_CONTAINER
-
BOOLEAN_CONTAINER
public static final TimebaseTypes.TypesContainer<BooleanDataType> BOOLEAN_CONTAINER
-
ALPHANUMERIC10_CONTAINER
public static final TimebaseTypes.TypesContainer<VarcharDataType> ALPHANUMERIC10_CONTAINER
-
UTF8_CONTAINER
public static final TimebaseTypes.TypesContainer<VarcharDataType> UTF8_CONTAINER
-
CHAR_CONTAINER
public static final TimebaseTypes.TypesContainer<CharDataType> CHAR_CONTAINER
-
DATE_TIME_CONTAINER
public static final TimebaseTypes.TypesContainer<DateTimeDataType> DATE_TIME_CONTAINER
-
TIME_OF_DAY_CONTAINER
public static final TimebaseTypes.TypesContainer<TimeOfDayDataType> TIME_OF_DAY_CONTAINER
-
OBJECT_CONTAINER
public static final TimebaseTypes.TypesContainer<ClassDataType> OBJECT_CONTAINER
-
TYPES_MAP
public static final java.util.HashMap<java.lang.String,DataType> TYPES_MAP
-
-
Method Detail
-
toSimpleName
public static java.lang.String toSimpleName(DataType type)
-
getBooleanArrayType
public static ArrayDataType getBooleanArrayType(boolean isNullable, boolean isElementNullable)
-
getBooleanType
public static BooleanDataType getBooleanType(boolean isNullable)
-
isBooleanOrBooleanArray
public static boolean isBooleanOrBooleanArray(DataType type)
-
isVarcharOrVarcharArray
public static boolean isVarcharOrVarcharArray(DataType type)
-
isEnumOrEnumArray
public static boolean isEnumOrEnumArray(DataType type)
-
isTimeOfDayOrTimeOfDayArray
public static boolean isTimeOfDayOrTimeOfDayArray(DataType type)
-
isDateTimeOrDateTimeArray
public static boolean isDateTimeOrDateTimeArray(DataType type)
-
isCharOrCharArray
public static boolean isCharOrCharArray(DataType type)
-
isObjectOrObjectArray
public static boolean isObjectOrObjectArray(DataType type)
-
extractEnumClassDescriptor
public static EnumClassDescriptor extractEnumClassDescriptor(DataType dataType)
-
getIntegerDataType
public static IntegerDataType getIntegerDataType(int nativeSize, boolean isNullable)
-
getIntegerArrayDataType
public static ArrayDataType getIntegerArrayDataType(int nativeSize, boolean isNullable, boolean isElementNullable)
-
getAllArrayNullableTypes
public static ArrayDataType[] getAllArrayNullableTypes()
-
isNull
public static boolean isNull(double v)
-
isNull
public static boolean isNull(float v)
-
isNull
public static boolean isNull(byte v)
-
isNull
public static boolean isNull(short v)
-
isNull
public static boolean isNull(int v)
-
isNull
public static boolean isNull(long v)
-
isNull
public static boolean isNull(java.lang.Object o)
-
isDecimalNull
public static boolean isDecimalNull(long v)
-
isDateTimeNull
public static boolean isDateTimeNull(@TimestampMs long v)
-
isTimeOfDayNull
public static boolean isTimeOfDayNull(int v)
-
isBooleanNull
public static boolean isBooleanNull(@Bool byte v)
-
copy
public static IntegerDataType copy(IntegerDataType dataType, boolean nullable)
-
copy
public static FloatDataType copy(FloatDataType dataType, boolean nullable)
-
copy
public static BooleanDataType copy(BooleanDataType dataType, boolean nullable)
-
copy
public static CharDataType copy(CharDataType dataType, boolean nullable)
-
copy
public static VarcharDataType copy(VarcharDataType dataType, boolean nullable)
-
copy
public static DateTimeDataType copy(DateTimeDataType dataType, boolean nullable)
-
copy
public static TimeOfDayDataType copy(TimeOfDayDataType dataType, boolean nullable)
-
copy
public static BinaryDataType copy(BinaryDataType dataType, boolean nullable)
-
copy
public static EnumDataType copy(EnumDataType dataType, boolean nullable)
-
copy
public static ClassDataType copy(ClassDataType dataType, boolean nullable)
-
copy
public static ArrayDataType copy(ArrayDataType dataType, boolean nullable, boolean elementNullable)
-
-