|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.serde2.thrift.ThriftDeserializer
public class ThriftDeserializer
ThriftDeserializer.
Constructor Summary | |
---|---|
ThriftDeserializer()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThriftDeserializer()
Method Detail |
---|
public void initialize(org.apache.hadoop.conf.Configuration job, Properties tbl) throws SerDeException
Deserializer
initialize
in interface Deserializer
job
- System propertiestbl
- table properties
SerDeException
public Object deserialize(org.apache.hadoop.io.Writable field) throws SerDeException
Deserializer
deserialize
in interface Deserializer
field
- The Writable object containing a serialized object
SerDeException
public ObjectInspector getObjectInspector() throws SerDeException
Deserializer
getObjectInspector
in interface Deserializer
SerDeException
public SerDeStats getSerDeStats()
Deserializer
getSerDeStats
in interface Deserializer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |