@Converter public final class HBaseModelConverter extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
booleanToBytes(Boolean bool) |
static Boolean |
bytesToBoolean(byte[] bytes) |
static Double |
bytesToDouble(byte[] bytes) |
static Float |
bytesToFloat(byte[] bytes) |
static Integer |
bytesToInteger(byte[] bytes) |
static Long |
bytesToLong(byte[] bytes) |
static Short |
bytesToShort(byte[] bytes) |
static String |
bytesToString(byte[] bytes) |
static byte[] |
doubleToBytes(Double num) |
static byte[] |
floatToBytes(Float num) |
static byte[] |
integerToBytes(Integer num) |
static byte[] |
longToBytes(Long num) |
static byte[] |
shortToBytes(Short num) |
static byte[] |
stringToBytes(String str) |
@Converter public static byte[] booleanToBytes(Boolean bool)
@Converter public static Boolean bytesToBoolean(byte[] bytes)
@Converter public static byte[] shortToBytes(Short num)
@Converter public static Short bytesToShort(byte[] bytes)
@Converter public static byte[] integerToBytes(Integer num)
@Converter public static Integer bytesToInteger(byte[] bytes)
@Converter public static byte[] longToBytes(Long num)
@Converter public static Long bytesToLong(byte[] bytes)
@Converter public static byte[] doubleToBytes(Double num)
@Converter public static Double bytesToDouble(byte[] bytes)
@Converter public static byte[] floatToBytes(Float num)
@Converter public static Float bytesToFloat(byte[] bytes)
@Converter public static byte[] stringToBytes(String str)
@Converter public static String bytesToString(byte[] bytes)
Apache Camel