org.apache.hadoop.hive.serde2
Class DelimitedJSONSerDe

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
      extended by org.apache.hadoop.hive.serde2.DelimitedJSONSerDe
All Implemented Interfaces:
Deserializer, SerDe, Serializer

public class DelimitedJSONSerDe
extends LazySimpleSerDe

DelimitedJSONSerDe. This serde can only serialize, because it is just intended for use by the FetchTask class and the TRANSFORM function.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
LazySimpleSerDe.SerDeParameters
 
Field Summary
static org.apache.commons.logging.Log LOG
           
 
Fields inherited from class org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
DefaultSeparators
 
Constructor Summary
DelimitedJSONSerDe()
           
 
Method Summary
 Object deserialize(org.apache.hadoop.io.Writable field)
          Not implemented.
protected  void serializeField(ByteStream.Output out, Object obj, ObjectInspector objInspector, LazySimpleSerDe.SerDeParameters serdeParams)
           
 
Methods inherited from class org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
getByte, getObjectInspector, getSerDeStats, getSerializedClass, initialize, initSerdeParams, serialize, serialize, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

DelimitedJSONSerDe

public DelimitedJSONSerDe()
                   throws SerDeException
Throws:
SerDeException
Method Detail

deserialize

public Object deserialize(org.apache.hadoop.io.Writable field)
                   throws SerDeException
Not implemented.

Specified by:
deserialize in interface Deserializer
Overrides:
deserialize in class LazySimpleSerDe
Parameters:
field - the Writable that contains the data
Returns:
The deserialized row Object.
Throws:
SerDeException
See Also:
Deserializer.deserialize(Writable)

serializeField

protected void serializeField(ByteStream.Output out,
                              Object obj,
                              ObjectInspector objInspector,
                              LazySimpleSerDe.SerDeParameters serdeParams)
                       throws SerDeException
Overrides:
serializeField in class LazySimpleSerDe
Throws:
SerDeException


Copyright © 2013 The Apache Software Foundation