public class ColumnarSerDe extends ColumnarSerDeBase
Modifier and Type | Field and Description |
---|---|
protected LazySerDeParameters |
serdeParams |
cachedObjectInspector, lastOperationDeserialize, lastOperationSerialize, serializedSize, stats
configuration, log, partitionProperties, properties, tableProperties
Constructor and Description |
---|
ColumnarSerDe() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.hadoop.conf.Configuration configuration,
Properties tableProperties,
Properties partitionProperties)
Initialize the SerDe.
|
org.apache.hadoop.io.Writable |
serialize(Object obj,
ObjectInspector objInspector)
Serialize a row of data.
|
String |
toString() |
deserialize, getObjectInspector, getSerDeStats, getSerializedClass, initialize
getColumnComments, getColumnNames, getColumnTypes, getConfiguration, getPartitionColumnComments, getPartitionColumnNames, getPartitionColumnTypes, parseColumnComments, parseColumnNames, parseColumnNames, parseColumnTypes, parseColumnTypes, shouldStoreFieldsInMetastore
protected LazySerDeParameters serdeParams
public ColumnarSerDe() throws SerDeException
SerDeException
public String toString()
toString
in class AbstractSerDe
public void initialize(org.apache.hadoop.conf.Configuration configuration, Properties tableProperties, Properties partitionProperties) throws SerDeException
AbstractSerDe
initialize
in class AbstractSerDe
configuration
- Hadoop configurationtableProperties
- Table propertiespartitionProperties
- Partition properties (may be null
if
table has no partitions)SerDeException
- if SerDe fails to initializepublic 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
AbstractSerDe.serialize(Object, ObjectInspector)
Copyright © 2022 The Apache Software Foundation. All rights reserved.