org.elasticsearch.hadoop.hive
Class EsSerDe
java.lang.Object
org.elasticsearch.hadoop.hive.EsSerDe
- All Implemented Interfaces:
- Deserializer, SerDe, Serializer
public class EsSerDe
- extends Object
- implements SerDe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EsSerDe
public EsSerDe()
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