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 |
configErrors| 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) |
getConfigurationErrors, initialize, initialize, serialize, shouldStoreFieldsInMetastoreprotected 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
AbstractSerDedeserialize in interface Deserializerdeserialize in class AbstractSerDeblob - The Writable object containing a serialized objectSerDeExceptionpublic SerDeStats getSerDeStats()
AbstractSerDegetSerDeStats in interface DeserializergetSerDeStats in interface SerializergetSerDeStats in class AbstractSerDepublic 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
AbstractSerDegetObjectInspector in interface DeserializergetObjectInspector in class AbstractSerDeSerDeExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.