public class ParquetRowDataWriter extends Object
Modifier and Type | Field and Description |
---|---|
static int |
JULIAN_EPOCH_OFFSET_DAYS |
static long |
MILLIS_IN_DAY |
static long |
NANOS_PER_MILLISECOND |
static long |
NANOS_PER_SECOND |
Constructor and Description |
---|
ParquetRowDataWriter(org.apache.parquet.io.api.RecordConsumer recordConsumer,
RowType rowType,
org.apache.parquet.schema.GroupType schema) |
Modifier and Type | Method and Description |
---|---|
void |
write(InternalRow record)
It writes a record to Parquet.
|
public static final int JULIAN_EPOCH_OFFSET_DAYS
public static final long MILLIS_IN_DAY
public static final long NANOS_PER_MILLISECOND
public static final long NANOS_PER_SECOND
public ParquetRowDataWriter(org.apache.parquet.io.api.RecordConsumer recordConsumer, RowType rowType, org.apache.parquet.schema.GroupType schema)
public void write(InternalRow record)
record
- Contains the record that is going to be written.Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.