org.apache.hadoop.hive.serde2.columnar
Class LazyBinaryColumnarSerDe
java.lang.Object
org.apache.hadoop.hive.serde2.columnar.ColumnarSerDeBase
org.apache.hadoop.hive.serde2.columnar.LazyBinaryColumnarSerDe
- All Implemented Interfaces:
- Deserializer, SerDe, Serializer
public class LazyBinaryColumnarSerDe
- extends ColumnarSerDeBase
LazyBinaryColumnarSerDe. This serde combines elements of columnar serde and lazybinary serde
to produce a serde which serializes columns into a BytesRefArrayWritable in a compact binary
format and which is deserialized in a lazy, i.e. on-demand fashion.
LazyBinaryColumnarSerDe
public LazyBinaryColumnarSerDe()
toString
public String toString()
- Overrides:
toString
in class Object
initialize
public void initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl)
throws SerDeException
- Description copied from interface:
Deserializer
- Initialize the HiveDeserializer.
- Parameters:
conf
- System propertiestbl
- table properties
- Throws:
SerDeException
serialize
public org.apache.hadoop.io.Writable serialize(Object obj,
ObjectInspector objInspector)
throws SerDeException
- Description copied from interface:
Serializer
- Serialize an object by navigating inside the Object with the
ObjectInspector. In most cases, the return value of this function will be
constant since the function will reuse the Writable object. If the client
wants to keep a copy of the Writable, the client needs to clone the
returned value.
- Throws:
SerDeException
Copyright © 2013 The Apache Software Foundation