public class DataWritableWriteSupport extends org.apache.parquet.hadoop.api.WriteSupport<ParquetHiveRecord>
Modifier and Type | Field and Description |
---|---|
static String |
PARQUET_HIVE_SCHEMA |
static String |
WRITER_DATE_PROLEPTIC |
static String |
WRITER_TIMEZONE |
static String |
WRITER_ZONE_CONVERSION_LEGACY |
Constructor and Description |
---|
DataWritableWriteSupport() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static org.apache.parquet.schema.MessageType |
getSchema(org.apache.hadoop.conf.Configuration configuration) |
org.apache.parquet.hadoop.api.WriteSupport.WriteContext |
init(org.apache.hadoop.conf.Configuration configuration) |
void |
prepareForWrite(org.apache.parquet.io.api.RecordConsumer recordConsumer) |
static void |
setSchema(org.apache.parquet.schema.MessageType schema,
org.apache.hadoop.conf.Configuration configuration) |
void |
write(ParquetHiveRecord record) |
public static final String PARQUET_HIVE_SCHEMA
public static final String WRITER_TIMEZONE
public static final String WRITER_DATE_PROLEPTIC
public static final String WRITER_ZONE_CONVERSION_LEGACY
public static void setSchema(org.apache.parquet.schema.MessageType schema, org.apache.hadoop.conf.Configuration configuration)
public static org.apache.parquet.schema.MessageType getSchema(org.apache.hadoop.conf.Configuration configuration)
public org.apache.parquet.hadoop.api.WriteSupport.WriteContext init(org.apache.hadoop.conf.Configuration configuration)
init
in class org.apache.parquet.hadoop.api.WriteSupport<ParquetHiveRecord>
public void prepareForWrite(org.apache.parquet.io.api.RecordConsumer recordConsumer)
prepareForWrite
in class org.apache.parquet.hadoop.api.WriteSupport<ParquetHiveRecord>
public void write(ParquetHiveRecord record)
write
in class org.apache.parquet.hadoop.api.WriteSupport<ParquetHiveRecord>
public String getName()
getName
in class org.apache.parquet.hadoop.api.WriteSupport<ParquetHiveRecord>
Copyright © 2022 The Apache Software Foundation. All rights reserved.