org.apache.hadoop.hbase.hbql.io
Class JavaSerialization
java.lang.Object
org.apache.hadoop.hbase.hbql.io.Serialization
org.apache.hadoop.hbase.hbql.io.JavaSerialization
public class JavaSerialization
- extends Serialization
Methods inherited from class org.apache.hadoop.hbase.hbql.io.Serialization |
getBooleanFromBytes, getByteFromBytes, getExceptionMessage, getNumberEqualityBytes, getNumberFromBytes, getObjectAsBytes, getObjectFromBytes, getSerializationStrategy, getStringAsBytes, getStringFromBytes, isSerializable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaSerialization
public JavaSerialization()
getScalarFromBytes
public Object getScalarFromBytes(FieldType fieldType,
byte[] b)
throws HBqlException
- Specified by:
getScalarFromBytes
in class Serialization
- Throws:
HBqlException
getScalarAsBytes
public byte[] getScalarAsBytes(FieldType fieldType,
Object obj)
throws HBqlException
- Specified by:
getScalarAsBytes
in class Serialization
- Throws:
HBqlException
getArrayFromBytes
public Object getArrayFromBytes(FieldType fieldType,
Class clazz,
byte[] b)
throws HBqlException
- Specified by:
getArrayFromBytes
in class Serialization
- Throws:
HBqlException
getArrayAsBytes
public byte[] getArrayAsBytes(FieldType fieldType,
Object obj)
throws HBqlException
- Specified by:
getArrayAsBytes
in class Serialization
- Throws:
HBqlException
Copyright © 2011. All Rights Reserved.