public class VectorizedColumnarSerDe extends ColumnarSerDe implements VectorizedSerde
LOG, serdeParamscachedObjectInspector, lastOperationDeserialize, lastOperationSerialize, serializedSize, statsconfigErrors| Constructor and Description |
|---|
VectorizedColumnarSerDe() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.Writable blob) |
void |
deserializeVector(Object rowBlob,
int rowsInBlob,
VectorizedRowBatch reuseBatch)
Deserializes the rowBlob into Vectorized row batch
|
ObjectInspector |
getObjectInspector() |
SerDeStats |
getSerDeStats() |
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass() |
org.apache.hadoop.io.Writable |
serialize(Object obj,
ObjectInspector objInspector) |
org.apache.hadoop.io.Writable |
serializeVector(VectorizedRowBatch vrg,
ObjectInspector objInspector)
Serialize a vectorized row batch
|
initialize, toStringinitializegetConfigurationErrors, initializepublic VectorizedColumnarSerDe()
throws SerDeException
SerDeExceptionpublic org.apache.hadoop.io.Writable serializeVector(VectorizedRowBatch vrg, ObjectInspector objInspector) throws SerDeException
serializeVector in interface VectorizedSerdevrg - Vectorized row batch to serializeobjInspector - The ObjectInspector for the row objectSerDeExceptionSerializer.serialize(Object, ObjectInspector)public SerDeStats getSerDeStats()
getSerDeStats in interface DeserializergetSerDeStats in interface SerializergetSerDeStats in class ColumnarSerDeBasepublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass in interface SerializergetSerializedClass in class ColumnarSerDeBasepublic Object deserialize(org.apache.hadoop.io.Writable blob) throws SerDeException
deserialize in interface Deserializerdeserialize in class ColumnarSerDeBaseSerDeExceptionpublic ObjectInspector getObjectInspector() throws SerDeException
getObjectInspector in interface DeserializergetObjectInspector in class ColumnarSerDeBaseSerDeExceptionpublic org.apache.hadoop.io.Writable serialize(Object obj, ObjectInspector objInspector) throws SerDeException
serialize in interface Serializerserialize in class ColumnarSerDeSerDeExceptionpublic void deserializeVector(Object rowBlob, int rowsInBlob, VectorizedRowBatch reuseBatch) throws SerDeException
deserializeVector in interface VectorizedSerderowBlob - rowBlob row batch to deserializerowsInBlob - Total number of rows in rowBlob to deserializereuseBatch - VectorizedRowBatch to which the rows should be serialized *SerDeExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.