elasticsearch-hadoop

org.elasticsearch.hadoop.hive
Class EsSerDe

java.lang.Object
  extended by org.elasticsearch.hadoop.hive.EsSerDe
All Implemented Interfaces:
Deserializer, SerDe, Serializer

public class EsSerDe
extends Object
implements SerDe


Constructor Summary
EsSerDe()
           
 
Method Summary
 Object deserialize(Writable blob)
           
 ObjectInspector getObjectInspector()
           
 SerDeStats getSerDeStats()
           
 Class<? extends Writable> getSerializedClass()
           
 void initialize(Configuration conf, Properties tbl)
           
 Writable serialize(Object data, ObjectInspector objInspector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EsSerDe

public EsSerDe()
Method Detail

initialize

public void initialize(Configuration conf,
                       Properties tbl)
                throws SerDeException
Specified by:
initialize in interface Deserializer
Specified by:
initialize in interface Serializer
Throws:
SerDeException

deserialize

public Object deserialize(Writable blob)
                   throws SerDeException
Specified by:
deserialize in interface Deserializer
Throws:
SerDeException

getObjectInspector

public ObjectInspector getObjectInspector()
                                   throws SerDeException
Specified by:
getObjectInspector in interface Deserializer
Throws:
SerDeException

getSerDeStats

public SerDeStats getSerDeStats()
Specified by:
getSerDeStats in interface Deserializer
Specified by:
getSerDeStats in interface Serializer

getSerializedClass

public Class<? extends Writable> getSerializedClass()
Specified by:
getSerializedClass in interface Serializer

serialize

public Writable serialize(Object data,
                          ObjectInspector objInspector)
                   throws SerDeException
Specified by:
serialize in interface Serializer
Throws:
SerDeException

elasticsearch-hadoop