public class ColumnarSerDe extends ColumnarSerDeBase
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
protected LazySerDeParameters |
serdeParams |
cachedObjectInspector, lastOperationDeserialize, lastOperationSerialize, serializedSize, stats
configErrors
Constructor and Description |
---|
ColumnarSerDe() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl)
Initialize the SerDe given the parameters.
|
org.apache.hadoop.io.Writable |
serialize(Object obj,
ObjectInspector objInspector)
Serialize a row of data.
|
String |
toString() |
deserialize, getObjectInspector, getSerDeStats, getSerializedClass, initialize
getConfigurationErrors, initialize
public static final org.apache.commons.logging.Log LOG
protected LazySerDeParameters serdeParams
public ColumnarSerDe() throws SerDeException
SerDeException
public void initialize(org.apache.hadoop.conf.Configuration conf, Properties tbl) throws SerDeException
initialize
in interface Deserializer
initialize
in interface Serializer
initialize
in class AbstractSerDe
conf
- System properties. Can be null in compile timetbl
- table propertiesSerDeException
SerDe#initialize(Configuration, Properties)
public org.apache.hadoop.io.Writable serialize(Object obj, ObjectInspector objInspector) throws SerDeException
serialize
in interface Serializer
serialize
in class AbstractSerDe
obj
- The row objectobjInspector
- The ObjectInspector for the row objectSerDeException
SerDe#serialize(Object, ObjectInspector)
Copyright © 2017 The Apache Software Foundation. All rights reserved.