public class OrcSerde extends Object implements org.apache.hadoop.hive.serde2.SerDe
| Constructor and Description |
|---|
OrcSerde() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.Writable writable) |
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
getObjectInspector() |
org.apache.hadoop.hive.serde2.SerDeStats |
getSerDeStats()
Always returns null, since serialized size doesn't make sense in the
context of ORC files.
|
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass() |
void |
initialize(org.apache.hadoop.conf.Configuration conf,
Properties table) |
org.apache.hadoop.io.Writable |
serialize(Object realRow,
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector inspector) |
public void initialize(org.apache.hadoop.conf.Configuration conf,
Properties table)
initialize in interface org.apache.hadoop.hive.serde2.Deserializerinitialize in interface org.apache.hadoop.hive.serde2.Serializerpublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass in interface org.apache.hadoop.hive.serde2.Serializerpublic org.apache.hadoop.io.Writable serialize(Object realRow, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector inspector)
serialize in interface org.apache.hadoop.hive.serde2.Serializerpublic Object deserialize(org.apache.hadoop.io.Writable writable) throws org.apache.hadoop.hive.serde2.SerDeException
deserialize in interface org.apache.hadoop.hive.serde2.Deserializerorg.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.Deserializerorg.apache.hadoop.hive.serde2.SerDeExceptionpublic org.apache.hadoop.hive.serde2.SerDeStats getSerDeStats()
getSerDeStats in interface org.apache.hadoop.hive.serde2.DeserializergetSerDeStats in interface org.apache.hadoop.hive.serde2.SerializerCopyright © 2013–2021. All rights reserved.