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)
Deserializer
initialize
in interface Deserializer
initialize
in interface Serializer
conf
- System propertiestable
- table propertiespublic java.lang.Class<? extends Writable> getSerializedClass()
Serializer
getSerializedClass
in interface Serializer
public Writable serialize(java.lang.Object realRow, ObjectInspector inspector)
Serializer
serialize
in interface Serializer
public java.lang.Object deserialize(Writable writable) throws SerDeException
Deserializer
deserialize
in interface Deserializer
writable
- The Writable object containing a serialized objectSerDeException
public ObjectInspector getObjectInspector() throws SerDeException
Deserializer
getObjectInspector
in interface Deserializer
SerDeException
public SerDeStats getSerDeStats()
getSerDeStats
in interface Deserializer
getSerDeStats
in interface Serializer
Copyright © 2012 The Apache Software Foundation