public abstract class AbstractSerializer extends java.lang.Object implements Serializer
Constructor and Description |
---|
AbstractSerializer() |
Modifier and Type | Method and Description |
---|---|
abstract SerDeStats |
getSerDeStats()
Returns statistics collected when serializing
|
abstract java.lang.Class<? extends Writable> |
getSerializedClass()
Returns the Writable class that would be returned by the serialize method.
|
abstract void |
initialize(Configuration conf,
java.util.Properties tbl)
Initialize the HiveSerializer.
|
abstract Writable |
serialize(java.lang.Object obj,
ObjectInspector objInspector)
Serialize an object by navigating inside the Object with the
ObjectInspector.
|
public abstract void initialize(Configuration conf, java.util.Properties tbl) throws SerDeException
initialize
in interface Serializer
conf
- System propertiestbl
- table propertiesSerDeException
public abstract java.lang.Class<? extends Writable> getSerializedClass()
getSerializedClass
in interface Serializer
public abstract Writable serialize(java.lang.Object obj, ObjectInspector objInspector) throws SerDeException
serialize
in interface Serializer
SerDeException
public abstract SerDeStats getSerDeStats()
getSerDeStats
in interface Serializer
Copyright © 2012 The Apache Software Foundation