public class RowDataParquetBuilder extends Object implements ParquetBuilder<InternalRow>
ParquetBuilder
for InternalRow
.Constructor and Description |
---|
RowDataParquetBuilder(RowType rowType,
Options options) |
Modifier and Type | Method and Description |
---|---|
ParquetWriter<InternalRow> |
createWriter(org.apache.parquet.io.OutputFile out,
String compression)
Creates and configures a parquet writer to the given output file.
|
String |
getCompression(String compression) |
public ParquetWriter<InternalRow> createWriter(org.apache.parquet.io.OutputFile out, String compression) throws IOException
ParquetBuilder
createWriter
in interface ParquetBuilder<InternalRow>
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.