|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.serde2.AbstractDeserializer
public abstract class AbstractDeserializer
Abstract class for implementing Deserializer. The abstract class has been created, so that new methods can be added in the underlying interface, Deserializer, and only implementations that need those methods overwrite it.
Constructor Summary | |
---|---|
AbstractDeserializer()
|
Method Summary | |
---|---|
abstract Object |
deserialize(org.apache.hadoop.io.Writable blob)
Deserialize an object out of a Writable blob. |
abstract ObjectInspector |
getObjectInspector()
Get the object inspector that can be used to navigate through the internal structure of the Object returned from deserialize(...). |
abstract SerDeStats |
getSerDeStats()
Returns statistics collected when serializing |
abstract void |
initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl)
Initialize the HiveDeserializer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractDeserializer()
Method Detail |
---|
public abstract void initialize(org.apache.hadoop.conf.Configuration conf, Properties tbl) throws SerDeException
initialize
in interface Deserializer
conf
- System propertiestbl
- table properties
SerDeException
public abstract Object deserialize(org.apache.hadoop.io.Writable blob) throws SerDeException
deserialize
in interface Deserializer
blob
- The Writable object containing a serialized object
SerDeException
public abstract ObjectInspector getObjectInspector() throws SerDeException
getObjectInspector
in interface Deserializer
SerDeException
public abstract SerDeStats getSerDeStats()
getSerDeStats
in interface Deserializer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |