public class OrcSerde extends AbstractSerDe implements SchemaInference
configuration, log, partitionProperties, properties, tableProperties| Constructor and Description |
|---|
OrcSerde() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.Writable writable) |
ObjectInspector |
getObjectInspector() |
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass() |
void |
initialize(org.apache.hadoop.conf.Configuration configuration,
Properties tableProperties,
Properties partitionProperties) |
protected List<TypeInfo> |
parseColumnTypes()
NOTE: if "columns.types" is missing, all columns will be of String type.
|
List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
readSchema(org.apache.hadoop.conf.Configuration conf,
String file) |
org.apache.hadoop.io.Writable |
serialize(Object realRow,
ObjectInspector inspector) |
getColumnComments, getColumnNames, getColumnTypes, getConfiguration, getPartitionColumnComments, getPartitionColumnNames, getPartitionColumnTypes, getSerDeStats, parseColumnComments, parseColumnNames, parseColumnNames, parseColumnTypes, shouldStoreFieldsInMetastore, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandleJobLevelConfigurationpublic void initialize(org.apache.hadoop.conf.Configuration configuration,
Properties tableProperties,
Properties partitionProperties)
throws SerDeException
initialize in class AbstractSerDeSerDeExceptionprotected List<TypeInfo> parseColumnTypes()
parseColumnTypes in class AbstractSerDepublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass in interface SerializergetSerializedClass in class AbstractSerDepublic org.apache.hadoop.io.Writable serialize(Object realRow, ObjectInspector inspector)
serialize in interface Serializerserialize in class AbstractSerDepublic Object deserialize(org.apache.hadoop.io.Writable writable) throws SerDeException
deserialize in interface Deserializerdeserialize in class AbstractSerDeSerDeExceptionpublic ObjectInspector getObjectInspector() throws SerDeException
getObjectInspector in interface DeserializerSerDeExceptionpublic List<org.apache.hadoop.hive.metastore.api.FieldSchema> readSchema(org.apache.hadoop.conf.Configuration conf, String file) throws SerDeException
readSchema in interface SchemaInferenceSerDeExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.