brickhouse.hive.serde
Class FlumeJsonSerDe

java.lang.Object
  extended by brickhouse.hive.serde.FlumeJsonSerDe
All Implemented Interfaces:
org.apache.hadoop.hive.serde2.Deserializer, org.apache.hadoop.hive.serde2.SerDe, org.apache.hadoop.hive.serde2.Serializer

public class FlumeJsonSerDe
extends Object
implements org.apache.hadoop.hive.serde2.SerDe


Constructor Summary
FlumeJsonSerDe()
           
 
Method Summary
 Object deserialize(org.apache.hadoop.io.Writable writable)
           
 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 obj, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector objInspector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlumeJsonSerDe

public FlumeJsonSerDe()
Method Detail

deserialize

public Object deserialize(org.apache.hadoop.io.Writable writable)
                   throws org.apache.hadoop.hive.serde2.SerDeException
Specified by:
deserialize in interface org.apache.hadoop.hive.serde2.Deserializer
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
Throws:
org.apache.hadoop.hive.serde2.SerDeException

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
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

serialize

public org.apache.hadoop.io.Writable serialize(Object obj,
                                               org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector objInspector)
                                        throws org.apache.hadoop.hive.serde2.SerDeException
Specified by:
serialize in interface org.apache.hadoop.hive.serde2.Serializer
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


Copyright © 2013. All rights reserved.