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 |
| Constructor and Description |
|---|
ColumnarSerDeBase() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
deserialize(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
|
java.lang.Class<? extends Writable> |
getSerializedClass()
Returns the Writable class that would be returned by the serialize method.
|
protected void |
initialize(int size) |
initialize, serializeprotected ObjectInspector cachedObjectInspector
protected long serializedSize
protected SerDeStats stats
protected boolean lastOperationSerialize
protected boolean lastOperationDeserialize
public java.lang.Object deserialize(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 java.lang.Class<? extends 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 © 2012 The Apache Software Foundation