public class MultiDelimitSerDe extends AbstractEncodingAwareSerDe
charset
configErrors
Constructor and Description |
---|
MultiDelimitSerDe() |
Modifier and Type | Method and Description |
---|---|
Object |
doDeserialize(org.apache.hadoop.io.Writable blob) |
org.apache.hadoop.io.Writable |
doSerialize(Object obj,
ObjectInspector objInspector) |
ObjectInspector |
getObjectInspector()
Get the object inspector that can be used to navigate through the internal
structure of the Object returned from deserialize(...).
|
SerDeStats |
getSerDeStats()
Returns statistics collected when serializing
|
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass()
Returns the Writable class that would be returned by the serialize method.
|
void |
initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl)
Initialize the HiveSerializer.
|
protected org.apache.hadoop.io.Text |
transformFromUTF8(org.apache.hadoop.io.Writable blob)
transform Writable data from UTF-8 to charset before serialize.
|
protected org.apache.hadoop.io.Text |
transformToUTF8(org.apache.hadoop.io.Writable blob)
transform Writable data from charset to UTF-8 before doDeserialize.
|
deserialize, serialize
getConfigurationErrors, initialize, shouldStoreFieldsInMetastore
public void initialize(org.apache.hadoop.conf.Configuration conf, Properties tbl) throws SerDeException
AbstractSerDe
initialize
in interface Deserializer
initialize
in interface Serializer
initialize
in class AbstractEncodingAwareSerDe
conf
- System properties. Can be null in compile timetbl
- table propertiesSerDeException
public ObjectInspector getObjectInspector() throws SerDeException
AbstractSerDe
getObjectInspector
in interface Deserializer
getObjectInspector
in class AbstractSerDe
SerDeException
public Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
AbstractSerDe
getSerializedClass
in interface Serializer
getSerializedClass
in class AbstractSerDe
public Object doDeserialize(org.apache.hadoop.io.Writable blob) throws SerDeException
doDeserialize
in class AbstractEncodingAwareSerDe
SerDeException
public org.apache.hadoop.io.Writable doSerialize(Object obj, ObjectInspector objInspector) throws SerDeException
doSerialize
in class AbstractEncodingAwareSerDe
SerDeException
protected org.apache.hadoop.io.Text transformFromUTF8(org.apache.hadoop.io.Writable blob)
AbstractEncodingAwareSerDe
transformFromUTF8
in class AbstractEncodingAwareSerDe
protected org.apache.hadoop.io.Text transformToUTF8(org.apache.hadoop.io.Writable blob)
AbstractEncodingAwareSerDe
transformToUTF8
in class AbstractEncodingAwareSerDe
public SerDeStats getSerDeStats()
AbstractSerDe
getSerDeStats
in interface Deserializer
getSerDeStats
in interface Serializer
getSerDeStats
in class AbstractSerDe
Copyright © 2022 The Apache Software Foundation. All rights reserved.