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
AbstractDeserializer
initialize
in interface Deserializer
initialize
in class AbstractDeserializer
job
- System propertiestbl
- table propertiesSerDeException
public Object deserialize(org.apache.hadoop.io.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 © 2017 The Apache Software Foundation. All rights reserved.