public class MultiDelimitSerDe extends AbstractEncodingAwareSerDe
charsetconfigErrors| 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, serializegetConfigurationErrors, initialize, shouldStoreFieldsInMetastorepublic void initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl)
throws SerDeException
AbstractSerDeinitialize in interface Deserializerinitialize in interface Serializerinitialize in class AbstractEncodingAwareSerDeconf - System properties. Can be null in compile timetbl - table propertiesSerDeExceptionpublic ObjectInspector getObjectInspector() throws SerDeException
AbstractSerDegetObjectInspector in interface DeserializergetObjectInspector in class AbstractSerDeSerDeExceptionpublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
AbstractSerDegetSerializedClass in interface SerializergetSerializedClass in class AbstractSerDepublic Object doDeserialize(org.apache.hadoop.io.Writable blob) throws SerDeException
doDeserialize in class AbstractEncodingAwareSerDeSerDeExceptionpublic org.apache.hadoop.io.Writable doSerialize(Object obj, ObjectInspector objInspector) throws SerDeException
doSerialize in class AbstractEncodingAwareSerDeSerDeExceptionprotected org.apache.hadoop.io.Text transformFromUTF8(org.apache.hadoop.io.Writable blob)
AbstractEncodingAwareSerDetransformFromUTF8 in class AbstractEncodingAwareSerDeprotected org.apache.hadoop.io.Text transformToUTF8(org.apache.hadoop.io.Writable blob)
AbstractEncodingAwareSerDetransformToUTF8 in class AbstractEncodingAwareSerDepublic SerDeStats getSerDeStats()
AbstractSerDegetSerDeStats in interface DeserializergetSerDeStats in interface SerializergetSerDeStats in class AbstractSerDeCopyright © 2019 The Apache Software Foundation. All Rights Reserved.