public class DBSerde
extends org.apache.hadoop.hive.serde2.AbstractSerDe
Constructor and Description |
---|
DBSerde() |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(org.apache.hadoop.io.Writable arg0) |
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
getObjectInspector() |
org.apache.hadoop.hive.serde2.SerDeStats |
getSerDeStats() |
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass() |
void |
initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl) |
org.apache.hadoop.io.Writable |
serialize(Object arg0,
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector arg1) |
public Object deserialize(org.apache.hadoop.io.Writable arg0) throws org.apache.hadoop.hive.serde2.SerDeException
deserialize
in interface org.apache.hadoop.hive.serde2.Deserializer
deserialize
in class org.apache.hadoop.hive.serde2.AbstractSerDe
org.apache.hadoop.hive.serde2.SerDeException
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector getObjectInspector() throws org.apache.hadoop.hive.serde2.SerDeException
getObjectInspector
in interface org.apache.hadoop.hive.serde2.Deserializer
getObjectInspector
in class org.apache.hadoop.hive.serde2.AbstractSerDe
org.apache.hadoop.hive.serde2.SerDeException
public org.apache.hadoop.hive.serde2.SerDeStats getSerDeStats()
getSerDeStats
in interface org.apache.hadoop.hive.serde2.Deserializer
getSerDeStats
in interface org.apache.hadoop.hive.serde2.Serializer
getSerDeStats
in class org.apache.hadoop.hive.serde2.AbstractSerDe
public void initialize(org.apache.hadoop.conf.Configuration conf, Properties tbl) throws org.apache.hadoop.hive.serde2.SerDeException
initialize
in interface org.apache.hadoop.hive.serde2.Deserializer
initialize
in interface org.apache.hadoop.hive.serde2.Serializer
initialize
in class org.apache.hadoop.hive.serde2.AbstractSerDe
org.apache.hadoop.hive.serde2.SerDeException
public Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass
in interface org.apache.hadoop.hive.serde2.Serializer
getSerializedClass
in class org.apache.hadoop.hive.serde2.AbstractSerDe
public org.apache.hadoop.io.Writable serialize(Object arg0, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector arg1) throws org.apache.hadoop.hive.serde2.SerDeException
serialize
in interface org.apache.hadoop.hive.serde2.Serializer
serialize
in class org.apache.hadoop.hive.serde2.AbstractSerDe
org.apache.hadoop.hive.serde2.SerDeException
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.