public abstract class AbstractSerializer extends Object implements Serializer
| Constructor and Description |
|---|
AbstractSerializer() |
| Modifier and Type | Method and Description |
|---|---|
abstract SerDeStats |
getSerDeStats()
Returns statistics collected when serializing
|
abstract Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass()
Returns the Writable class that would be returned by the serialize method.
|
abstract void |
initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl)
Initialize the HiveSerializer.
|
abstract org.apache.hadoop.io.Writable |
serialize(Object obj,
ObjectInspector objInspector)
Serialize an object by navigating inside the Object with the
ObjectInspector.
|
public abstract void initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl)
throws SerDeException
initialize in interface Serializerconf - System propertiestbl - table propertiesSerDeExceptionpublic abstract Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass in interface Serializerpublic abstract org.apache.hadoop.io.Writable serialize(Object obj, ObjectInspector objInspector) throws SerDeException
serialize in interface SerializerSerDeExceptionpublic abstract SerDeStats getSerDeStats()
getSerDeStats in interface SerializerCopyright © 2019 The Apache Software Foundation. All Rights Reserved.