org.apache.camel.component.hbase.converter
Class HBaseModelConverter

java.lang.Object
  extended by org.apache.camel.component.hbase.converter.HBaseModelConverter

@Converter
public final class HBaseModelConverter
extends Object


Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

booleanToBytes

@Converter
public static byte[] booleanToBytes(Boolean bool)

bytesToBoolean

@Converter
public static Boolean bytesToBoolean(byte[] bytes)

shortToBytes

@Converter
public static byte[] shortToBytes(Short num)

bytesToShort

@Converter
public static Short bytesToShort(byte[] bytes)

integerToBytes

@Converter
public static byte[] integerToBytes(Integer num)

bytesToInteger

@Converter
public static Integer bytesToInteger(byte[] bytes)

longToBytes

@Converter
public static byte[] longToBytes(Long num)

bytesToLong

@Converter
public static Long bytesToLong(byte[] bytes)

doubleToBytes

@Converter
public static byte[] doubleToBytes(Double num)

bytesToDouble

@Converter
public static Double bytesToDouble(byte[] bytes)

floatToBytes

@Converter
public static byte[] floatToBytes(Float num)

bytesToFloat

@Converter
public static Float bytesToFloat(byte[] bytes)

stringToBytes

@Converter
public static byte[] stringToBytes(String str)

bytesToString

@Converter
public static String bytesToString(byte[] bytes)


Apache CAMEL