public class OrcSerde extends Object implements SerDe, VectorizedSerde
| Constructor and Description |
|---|
OrcSerde() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.Writable writable) |
void |
deserializeVector(Object rowBlob,
int rowsInBatch,
VectorizedRowBatch reuseBatch) |
ObjectInspector |
getObjectInspector() |
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,
ObjectInspector inspector) |
org.apache.hadoop.io.Writable |
serializeVector(VectorizedRowBatch vrg,
ObjectInspector objInspector) |
public void initialize(org.apache.hadoop.conf.Configuration conf,
Properties table)
initialize in interface Deserializerinitialize in interface Serializerpublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass in interface Serializerpublic org.apache.hadoop.io.Writable serialize(Object realRow, ObjectInspector inspector)
serialize in interface Serializerpublic Object deserialize(org.apache.hadoop.io.Writable writable) throws SerDeException
deserialize in interface DeserializerSerDeExceptionpublic ObjectInspector getObjectInspector() throws SerDeException
getObjectInspector in interface DeserializerSerDeExceptionpublic SerDeStats getSerDeStats()
getSerDeStats in interface DeserializergetSerDeStats in interface Serializerpublic org.apache.hadoop.io.Writable serializeVector(VectorizedRowBatch vrg, ObjectInspector objInspector) throws SerDeException
serializeVector in interface VectorizedSerdeSerDeExceptionpublic void deserializeVector(Object rowBlob, int rowsInBatch, VectorizedRowBatch reuseBatch) throws SerDeException
deserializeVector in interface VectorizedSerdeSerDeExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.