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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandleJobLevelConfigurationpublic 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 AbstractSerDeSerDeExceptionpublic Object deserialize(org.apache.hadoop.io.Writable blob) throws SerDeException
deserialize in interface Deserializerdeserialize in class AbstractSerDeSerDeExceptionpublic ObjectInspector getObjectInspector() throws SerDeException
getObjectInspector in interface DeserializerSerDeExceptionpublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass in interface SerializergetSerializedClass in class AbstractSerDepublic org.apache.hadoop.io.Writable serialize(Object obj, ObjectInspector objInspector) throws SerDeException
serialize in interface Serializerserialize in class AbstractSerDeSerDeExceptionpublic 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 SchemaInferenceSerDeExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.