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
protected 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
AbstractSerDe
deserialize
in interface Deserializer
deserialize
in class AbstractSerDe
blob
- The Writable object containing a serialized objectSerDeException
public SerDeStats getSerDeStats()
AbstractSerDe
getSerDeStats
in interface Deserializer
getSerDeStats
in interface Serializer
getSerDeStats
in class AbstractSerDe
public Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
AbstractSerDe
getSerializedClass
in interface Serializer
getSerializedClass
in class AbstractSerDe
protected void initialize(int size) throws SerDeException
SerDeException
public ObjectInspector getObjectInspector() throws SerDeException
AbstractSerDe
getObjectInspector
in interface Deserializer
getObjectInspector
in class AbstractSerDe
SerDeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.