org.apache.lens.storage.db
Class DBSerde
java.lang.Object
org.apache.hadoop.hive.serde2.AbstractSerDe
org.apache.lens.storage.db.DBSerde
- All Implemented Interfaces:
- org.apache.hadoop.hive.serde2.Deserializer, org.apache.hadoop.hive.serde2.SerDe, org.apache.hadoop.hive.serde2.Serializer
public class DBSerde
- extends org.apache.hadoop.hive.serde2.AbstractSerDe
The Class DBSerde.
DBSerde
public DBSerde()
deserialize
public Object deserialize(org.apache.hadoop.io.Writable arg0)
throws org.apache.hadoop.hive.serde2.SerDeException
- Specified by:
deserialize
in interface org.apache.hadoop.hive.serde2.Deserializer
- Specified by:
deserialize
in class org.apache.hadoop.hive.serde2.AbstractSerDe
- Throws:
org.apache.hadoop.hive.serde2.SerDeException
getObjectInspector
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector getObjectInspector()
throws org.apache.hadoop.hive.serde2.SerDeException
- Specified by:
getObjectInspector
in interface org.apache.hadoop.hive.serde2.Deserializer
- Specified by:
getObjectInspector
in class org.apache.hadoop.hive.serde2.AbstractSerDe
- Throws:
org.apache.hadoop.hive.serde2.SerDeException
getSerDeStats
public org.apache.hadoop.hive.serde2.SerDeStats getSerDeStats()
- Specified by:
getSerDeStats
in interface org.apache.hadoop.hive.serde2.Deserializer
- Specified by:
getSerDeStats
in interface org.apache.hadoop.hive.serde2.Serializer
- Specified by:
getSerDeStats
in class org.apache.hadoop.hive.serde2.AbstractSerDe
initialize
public void initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl)
throws org.apache.hadoop.hive.serde2.SerDeException
- Specified by:
initialize
in interface org.apache.hadoop.hive.serde2.Deserializer
- Specified by:
initialize
in interface org.apache.hadoop.hive.serde2.Serializer
- Specified by:
initialize
in class org.apache.hadoop.hive.serde2.AbstractSerDe
- Throws:
org.apache.hadoop.hive.serde2.SerDeException
getSerializedClass
public Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
- Specified by:
getSerializedClass
in interface org.apache.hadoop.hive.serde2.Serializer
- Specified by:
getSerializedClass
in class org.apache.hadoop.hive.serde2.AbstractSerDe
serialize
public org.apache.hadoop.io.Writable serialize(Object arg0,
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector arg1)
throws org.apache.hadoop.hive.serde2.SerDeException
- Specified by:
serialize
in interface org.apache.hadoop.hive.serde2.Serializer
- Specified by:
serialize
in class org.apache.hadoop.hive.serde2.AbstractSerDe
- Throws:
org.apache.hadoop.hive.serde2.SerDeException
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.