public class ColumnarSerDe extends ColumnarSerDeBase
| Modifier and Type | Field and Description |
|---|---|
protected LazySerDeParameters |
serdeParams |
cachedObjectInspector, lastOperationDeserialize, lastOperationSerialize, serializedSize, statsconfiguration, 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, initializegetColumnComments, getColumnNames, getColumnTypes, getConfiguration, getPartitionColumnComments, getPartitionColumnNames, getPartitionColumnTypes, parseColumnComments, parseColumnNames, parseColumnNames, parseColumnTypes, parseColumnTypes, shouldStoreFieldsInMetastoreclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandleJobLevelConfigurationprotected LazySerDeParameters serdeParams
public ColumnarSerDe()
throws SerDeException
SerDeExceptionpublic String toString()
toString in class AbstractSerDepublic void initialize(org.apache.hadoop.conf.Configuration configuration,
Properties tableProperties,
Properties partitionProperties)
throws SerDeException
AbstractSerDeinitialize in class AbstractSerDeconfiguration - 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 Serializerserialize in class AbstractSerDeobj - The row objectobjInspector - The ObjectInspector for the row objectSerDeExceptionAbstractSerDe.serialize(Object, ObjectInspector)Copyright © 2022 The Apache Software Foundation. All rights reserved.