public class ColumnarSerDe extends ColumnarSerDeBase
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
cachedObjectInspector, lastOperationDeserialize, lastOperationSerialize, serializedSize, stats
Constructor and Description |
---|
ColumnarSerDe() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Configuration job,
java.util.Properties tbl)
Initialize the SerDe given the parameters.
|
Writable |
serialize(java.lang.Object obj,
ObjectInspector objInspector)
Serialize a row of data.
|
java.lang.String |
toString() |
deserialize, getObjectInspector, getSerDeStats, getSerializedClass, initialize
public ColumnarSerDe() throws SerDeException
SerDeException
public java.lang.String toString()
toString
in class java.lang.Object
public void initialize(Configuration job, java.util.Properties tbl) throws SerDeException
initialize
in interface Deserializer
initialize
in interface Serializer
initialize
in class AbstractSerDe
job
- System propertiestbl
- table propertiesSerDeException
Deserializer.initialize(Configuration, Properties)
public Writable serialize(java.lang.Object obj, ObjectInspector objInspector) throws SerDeException
serialize
in interface Serializer
serialize
in class AbstractSerDe
obj
- The row objectobjInspector
- The ObjectInspector for the row objectSerDeException
Serializer.serialize(Object, ObjectInspector)
Copyright © 2012 The Apache Software Foundation