public class MultiDelimitSerDe extends AbstractEncodingAwareSerDe
| Modifier and Type | Field and Description |
|---|---|
static int |
REPLACEMENT_DELIM_LENGTH |
static String |
REPLACEMENT_DELIM_SEQUENCE |
charsetconfiguration, log, partitionProperties, properties, tableProperties| 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(...).
|
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 configuration,
Properties tableProperties,
Properties partitionProperties)
Initialize the SerDe.
|
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, serializegetColumnComments, getColumnNames, getColumnTypes, getConfiguration, getPartitionColumnComments, getPartitionColumnNames, getPartitionColumnTypes, getSerDeStats, parseColumnComments, parseColumnNames, parseColumnNames, parseColumnTypes, parseColumnTypes, shouldStoreFieldsInMetastore, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandleJobLevelConfigurationpublic static final String REPLACEMENT_DELIM_SEQUENCE
public static final int REPLACEMENT_DELIM_LENGTH
public void initialize(org.apache.hadoop.conf.Configuration configuration,
Properties tableProperties,
Properties partitionProperties)
throws SerDeException
AbstractSerDeinitialize in class AbstractEncodingAwareSerDeconfiguration - Hadoop configurationtableProperties - Table propertiespartitionProperties - Partition properties (may be null if
table has no partitions)SerDeException - if SerDe fails to initializepublic ObjectInspector getObjectInspector() throws SerDeException
DeserializerSerDeExceptionpublic 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 AbstractEncodingAwareSerDeCopyright © 2022 The Apache Software Foundation. All rights reserved.