public class ParquetHiveSerDe extends AbstractSerDe implements SchemaInference
Modifier and Type | Field and Description |
---|---|
static org.apache.hadoop.io.Text |
ARRAY |
static org.apache.hadoop.io.Text |
LIST |
static org.apache.hadoop.io.Text |
MAP |
static org.apache.hadoop.io.Text |
MAP_KEY |
static org.apache.hadoop.io.Text |
MAP_VALUE |
static int[] |
PRECISION_TO_BYTE_COUNT |
configuration, log, partitionProperties, properties, tableProperties
Constructor and Description |
---|
ParquetHiveSerDe() |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(org.apache.hadoop.io.Writable blob) |
ObjectInspector |
getObjectInspector() |
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass() |
void |
initialize(org.apache.hadoop.conf.Configuration configuration,
Properties tableProperties,
Properties partitionProperties) |
static boolean |
isParquetTable(Table table) |
List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
readSchema(org.apache.hadoop.conf.Configuration conf,
String file) |
org.apache.hadoop.io.Writable |
serialize(Object obj,
ObjectInspector objInspector) |
getColumnComments, getColumnNames, getColumnTypes, getConfiguration, getPartitionColumnComments, getPartitionColumnNames, getPartitionColumnTypes, getSerDeStats, parseColumnComments, parseColumnNames, parseColumnNames, parseColumnTypes, parseColumnTypes, shouldStoreFieldsInMetastore, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
handleJobLevelConfiguration
public static final org.apache.hadoop.io.Text MAP_KEY
public static final org.apache.hadoop.io.Text MAP_VALUE
public static final org.apache.hadoop.io.Text MAP
public static final org.apache.hadoop.io.Text ARRAY
public static final org.apache.hadoop.io.Text LIST
public static final int[] PRECISION_TO_BYTE_COUNT
public void initialize(org.apache.hadoop.conf.Configuration configuration, Properties tableProperties, Properties partitionProperties) throws SerDeException
initialize
in class AbstractSerDe
SerDeException
public Object deserialize(org.apache.hadoop.io.Writable blob) throws SerDeException
deserialize
in interface Deserializer
deserialize
in class AbstractSerDe
SerDeException
public ObjectInspector getObjectInspector() throws SerDeException
getObjectInspector
in interface Deserializer
SerDeException
public Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass
in interface Serializer
getSerializedClass
in class AbstractSerDe
public org.apache.hadoop.io.Writable serialize(Object obj, ObjectInspector objInspector) throws SerDeException
serialize
in interface Serializer
serialize
in class AbstractSerDe
SerDeException
public static boolean isParquetTable(Table table)
table
- public List<org.apache.hadoop.hive.metastore.api.FieldSchema> readSchema(org.apache.hadoop.conf.Configuration conf, String file) throws SerDeException
readSchema
in interface SchemaInference
SerDeException
Copyright © 2024 The Apache Software Foundation. All rights reserved.