public class OrcSerde extends java.lang.Object implements SerDe
| Constructor and Description |
|---|
OrcSerde() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
deserialize(Writable writable)
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()
Always returns null, since serialized size doesn't make sense in the
context of ORC files.
|
java.lang.Class<? extends Writable> |
getSerializedClass()
Returns the Writable class that would be returned by the serialize method.
|
void |
initialize(Configuration conf,
java.util.Properties table)
Initialize the HiveDeserializer.
|
Writable |
serialize(java.lang.Object realRow,
ObjectInspector inspector)
Serialize an object by navigating inside the Object with the
ObjectInspector.
|
public void initialize(Configuration conf,
java.util.Properties table)
Deserializerinitialize in interface Deserializerinitialize in interface Serializerconf - System propertiestable - table propertiespublic java.lang.Class<? extends Writable> getSerializedClass()
SerializergetSerializedClass in interface Serializerpublic Writable serialize(java.lang.Object realRow,
ObjectInspector inspector)
Serializerserialize in interface Serializerpublic java.lang.Object deserialize(Writable writable)
throws SerDeException
Deserializerdeserialize in interface Deserializerwritable - The Writable object containing a serialized objectSerDeExceptionpublic ObjectInspector getObjectInspector() throws SerDeException
DeserializergetObjectInspector in interface DeserializerSerDeExceptionpublic SerDeStats getSerDeStats()
getSerDeStats in interface DeserializergetSerDeStats in interface SerializerCopyright © 2012 The Apache Software Foundation