public class DataWritableWriter extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.parquet.io.api.RecordConsumer |
recordConsumer |
Constructor and Description |
---|
DataWritableWriter(org.apache.parquet.io.api.RecordConsumer recordConsumer,
org.apache.parquet.schema.GroupType schema,
boolean defaultDateProleptic) |
DataWritableWriter(org.apache.parquet.io.api.RecordConsumer recordConsumer,
org.apache.parquet.schema.GroupType schema,
boolean defaultDateProleptic,
org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
write(ParquetHiveRecord record)
It writes a record to Parquet.
|
public DataWritableWriter(org.apache.parquet.io.api.RecordConsumer recordConsumer, org.apache.parquet.schema.GroupType schema, boolean defaultDateProleptic)
public DataWritableWriter(org.apache.parquet.io.api.RecordConsumer recordConsumer, org.apache.parquet.schema.GroupType schema, boolean defaultDateProleptic, org.apache.hadoop.conf.Configuration conf)
public void write(ParquetHiveRecord record)
record
- Contains the record that is going to be written.Copyright © 2022 The Apache Software Foundation. All rights reserved.