public abstract class ColumnarSerDeBase extends AbstractSerDe
| Modifier and Type | Field and Description |
|---|---|
protected ObjectInspector |
cachedObjectInspector |
protected boolean |
lastOperationDeserialize |
protected boolean |
lastOperationSerialize |
protected long |
serializedSize |
protected SerDeStats |
stats |
configuration, log, partitionProperties, properties, tableProperties| Constructor and Description |
|---|
ColumnarSerDeBase() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.Writable blob)
Deserialize an object out of a Writable blob.
|
ObjectInspector |
getObjectInspector()
Get the object inspector that can be used to navigate through the internal
structure of the Object returned from deserialize(...).
|
SerDeStats |
getSerDeStats()
Returns statistics collected when serializing.
|
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass()
Returns the Writable class that would be returned by the serialize method.
|
protected void |
initialize(int size) |
getColumnComments, getColumnNames, getColumnTypes, getConfiguration, getPartitionColumnComments, getPartitionColumnNames, getPartitionColumnTypes, initialize, parseColumnComments, parseColumnNames, parseColumnNames, parseColumnTypes, parseColumnTypes, serialize, shouldStoreFieldsInMetastore, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandleJobLevelConfigurationprotected ObjectInspector cachedObjectInspector
protected long serializedSize
protected SerDeStats stats
protected boolean lastOperationSerialize
protected boolean lastOperationDeserialize
public Object deserialize(org.apache.hadoop.io.Writable blob) throws SerDeException
Deserializerdeserialize in interface Deserializerdeserialize in class AbstractSerDeblob - The Writable object containing a serialized objectSerDeExceptionpublic SerDeStats getSerDeStats()
AbstractSerDegetSerDeStats in interface SerDegetSerDeStats in class AbstractSerDenull if stats are not supported by
this SerDe. Returns statistics collected when serializingpublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
AbstractSerDegetSerializedClass in interface SerializergetSerializedClass in class AbstractSerDeprotected void initialize(int size)
throws SerDeException
SerDeExceptionpublic ObjectInspector getObjectInspector() throws SerDeException
DeserializerSerDeExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.