|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.serde2.AbstractDeserializer
org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer
public class ThriftDeserializer
ThriftDeserializer.
| Constructor Summary | |
|---|---|
ThriftDeserializer()
|
|
| Method Summary | |
|---|---|
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,
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(Configuration job,
Properties tbl)
throws SerDeException
AbstractDeserializer
initialize in interface Deserializerinitialize in class AbstractDeserializerjob - System propertiestbl - table properties
SerDeException
public Object deserialize(Writable field)
throws SerDeException
AbstractDeserializer
deserialize in interface Deserializerdeserialize in class AbstractDeserializerfield - The Writable object containing a serialized object
SerDeException
public ObjectInspector getObjectInspector()
throws SerDeException
AbstractDeserializer
getObjectInspector in interface DeserializergetObjectInspector in class AbstractDeserializerSerDeExceptionpublic SerDeStats getSerDeStats()
AbstractDeserializer
getSerDeStats in interface DeserializergetSerDeStats in class AbstractDeserializer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||