public class ThriftDeserializer extends AbstractDeserializer
| Constructor and Description |
|---|
ThriftDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.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(org.apache.hadoop.conf.Configuration job,
Properties tbl)
Initialize the HiveDeserializer.
|
public void initialize(org.apache.hadoop.conf.Configuration job,
Properties tbl)
throws SerDeException
AbstractDeserializerinitialize in interface Deserializerinitialize in class AbstractDeserializerjob - System propertiestbl - table propertiesSerDeExceptionpublic Object deserialize(org.apache.hadoop.io.Writable field) throws SerDeException
AbstractDeserializerdeserialize in interface Deserializerdeserialize in class AbstractDeserializerfield - The Writable object containing a serialized objectSerDeExceptionpublic ObjectInspector getObjectInspector() throws SerDeException
AbstractDeserializergetObjectInspector in interface DeserializergetObjectInspector in class AbstractDeserializerSerDeExceptionpublic SerDeStats getSerDeStats()
AbstractDeserializergetSerDeStats in interface DeserializergetSerDeStats in class AbstractDeserializerCopyright © 2019 The Apache Software Foundation. All Rights Reserved.