public final class NullMappings
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
checkByteIsNull(byte value)
Tests if a byte is a null value.
|
static boolean |
checkDoubleIsNull(double value)
Tests if a double is a null value.
|
static boolean |
checkFloatIsNull(float value)
Tests if a float is a null value.
|
static boolean |
checkIntIsNull(int value)
Tests if an integer is a null value.
|
static boolean |
checkLongIsNull(long value)
Tests if a long is a null value.
|
static <T> boolean |
checkObjectIsNull(T value)
Tests if an object is a null value.
|
static boolean |
checkShortIsNull(short value)
Tests if a short is a null value.
|
static byte |
getBooleanNullConstant()
Gets MonetDB's boolean null constant.
|
static byte |
getByteNullConstant()
Gets MonetDB's byte null constant.
|
static double |
getDoubleNullConstant()
Gets MonetDB's double null constant.
|
static float |
getFloatNullConstant()
Gets MonetDB's float null constant.
|
static int |
getIntNullConstant()
Gets MonetDB's int null constant.
|
static long |
getLongNullConstant()
Gets MonetDB's long null constant.
|
static <T> T |
getObjectNullConstant()
A null pointer returning method.
|
static short |
getShortNullConstant()
Gets MonetDB's short null constant.
|
public static byte getBooleanNullConstant()
public static byte getByteNullConstant()
public static boolean checkByteIsNull(byte value)
value
- The value to testpublic static short getShortNullConstant()
public static boolean checkShortIsNull(short value)
value
- The value to testpublic static int getIntNullConstant()
public static boolean checkIntIsNull(int value)
value
- The value to testpublic static long getLongNullConstant()
public static boolean checkLongIsNull(long value)
value
- The value to testpublic static float getFloatNullConstant()
public static boolean checkFloatIsNull(float value)
value
- The value to testpublic static double getDoubleNullConstant()
public static boolean checkDoubleIsNull(double value)
value
- The value to testpublic static <T> T getObjectNullConstant()
T
- The Java class of the mapped MonetDB columnpublic static <T> boolean checkObjectIsNull(T value)
T
- The Java class of the mapped MonetDB columnvalue
- The value to test