Home » hive-0.5.0-dev » org.apache.hadoop.hive.ql.util.jdbm.helper » [javadoc | source]
public interface: Serializer [javadoc | source]

All Implemented Interfaces:

All Known Implementing Classes:
    LongSerializer, ByteArraySerializer, DefaultSerializer, IntegerSerializer

Interface used to provide a serialization mechanism other than a class' normal serialization.
Method from org.apache.hadoop.hive.ql.util.jdbm.helper.Serializer Summary:
deserialize,   serialize
Method from org.apache.hadoop.hive.ql.util.jdbm.helper.Serializer Detail:
 public Object deserialize(byte[] serialized) throws IOException
    Deserialize the content of an object from a byte array.
 public byte[] serialize(Object obj) throws IOException
    Serialize the content of an object into a byte array.