Class ParquetRowDataWriter
- java.lang.Object
-
- org.apache.flink.formats.parquet.row.ParquetRowDataWriter
-
public class ParquetRowDataWriter extends Object
Writes a record to the Parquet API with the expected schema in order to be written to a file.
-
-
Constructor Summary
Constructors Constructor Description ParquetRowDataWriter(org.apache.parquet.io.api.RecordConsumer recordConsumer, RowType rowType, org.apache.parquet.schema.GroupType schema, boolean utcTimestamp, org.apache.hadoop.conf.Configuration conf)
-
-
-
Constructor Detail
-
ParquetRowDataWriter
public ParquetRowDataWriter(org.apache.parquet.io.api.RecordConsumer recordConsumer, RowType rowType, org.apache.parquet.schema.GroupType schema, boolean utcTimestamp, org.apache.hadoop.conf.Configuration conf)
-
-
Method Detail
-
write
public void write(RowData record)
It writes a record to Parquet.- Parameters:
record
- Contains the record that is going to be written.
-
-