public final class CSVSerde
extends org.apache.hadoop.hive.serde2.AbstractSerDe
| Modifier and Type | Field and Description |
|---|---|
static char |
DEFAULT_COLLECTION_SEPERATOR
The default collection seperator.
|
static char |
DEFAULT_MAP_KEY_VALUE_SEPERATOR
The default map key value seperator.
|
static String |
DEFAULT_NULL_FORMAT
The default null format.
|
static char |
DEFAULT_STRUCT_FIELD_SEPERATOR
The default struct field seperator.
|
static char |
DEFAULT_UNION_TAG_FIELD_SEPERATOR
The default union tag field seperator.
|
| Constructor and Description |
|---|
CSVSerde() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.Writable blob) |
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
getObjectInspector() |
org.apache.hadoop.hive.serde2.SerDeStats |
getSerDeStats() |
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass() |
void |
initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl) |
org.apache.hadoop.io.Writable |
serialize(Object obj,
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector objInspector) |
public static final String DEFAULT_NULL_FORMAT
public static final char DEFAULT_COLLECTION_SEPERATOR
public static final char DEFAULT_STRUCT_FIELD_SEPERATOR
public static final char DEFAULT_UNION_TAG_FIELD_SEPERATOR
public static final char DEFAULT_MAP_KEY_VALUE_SEPERATOR
public void initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl)
throws org.apache.hadoop.hive.serde2.SerDeException
initialize in interface org.apache.hadoop.hive.serde2.Deserializerinitialize in interface org.apache.hadoop.hive.serde2.Serializerinitialize in class org.apache.hadoop.hive.serde2.AbstractSerDeorg.apache.hadoop.hive.serde2.SerDeExceptionpublic org.apache.hadoop.io.Writable serialize(Object obj, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector objInspector) throws org.apache.hadoop.hive.serde2.SerDeException
serialize in interface org.apache.hadoop.hive.serde2.Serializerserialize in class org.apache.hadoop.hive.serde2.AbstractSerDeorg.apache.hadoop.hive.serde2.SerDeExceptionpublic Object deserialize(org.apache.hadoop.io.Writable blob) throws org.apache.hadoop.hive.serde2.SerDeException
deserialize in interface org.apache.hadoop.hive.serde2.Deserializerdeserialize in class org.apache.hadoop.hive.serde2.AbstractSerDeorg.apache.hadoop.hive.serde2.SerDeExceptionpublic org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector getObjectInspector()
throws org.apache.hadoop.hive.serde2.SerDeException
getObjectInspector in interface org.apache.hadoop.hive.serde2.DeserializergetObjectInspector in class org.apache.hadoop.hive.serde2.AbstractSerDeorg.apache.hadoop.hive.serde2.SerDeExceptionpublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass in interface org.apache.hadoop.hive.serde2.SerializergetSerializedClass in class org.apache.hadoop.hive.serde2.AbstractSerDepublic org.apache.hadoop.hive.serde2.SerDeStats getSerDeStats()
getSerDeStats in interface org.apache.hadoop.hive.serde2.DeserializergetSerDeStats in interface org.apache.hadoop.hive.serde2.SerializergetSerDeStats in class org.apache.hadoop.hive.serde2.AbstractSerDeCopyright © 2014–2016 Apache Software Foundation. All rights reserved.