public class ThriftDeserializer extends AbstractDeserializer
Constructor and Description |
---|
ThriftDeserializer() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(Writable field)
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
|
void |
initialize(Configuration job,
java.util.Properties tbl)
Initialize the HiveDeserializer.
|
public void initialize(Configuration job, java.util.Properties tbl) throws SerDeException
AbstractDeserializer
initialize
in interface Deserializer
initialize
in class AbstractDeserializer
job
- System propertiestbl
- table propertiesSerDeException
public java.lang.Object deserialize(Writable field) throws SerDeException
AbstractDeserializer
deserialize
in interface Deserializer
deserialize
in class AbstractDeserializer
field
- The Writable object containing a serialized objectSerDeException
public ObjectInspector getObjectInspector() throws SerDeException
AbstractDeserializer
getObjectInspector
in interface Deserializer
getObjectInspector
in class AbstractDeserializer
SerDeException
public SerDeStats getSerDeStats()
AbstractDeserializer
getSerDeStats
in interface Deserializer
getSerDeStats
in class AbstractDeserializer
Copyright © 2012 The Apache Software Foundation