Package org.apache.iceberg.data.parquet
Class GenericParquetWriter
java.lang.Object
org.apache.iceberg.data.parquet.GenericParquetWriter
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParquetValueWriter<Record>
buildWriter
(org.apache.parquet.schema.MessageType type) Deprecated.static ParquetValueWriter<Record>
protected ParquetValueWriters.StructWriter<Record>
createStructWriter
(List<ParquetValueWriter<?>> writers) Deprecated.will be removed in 1.10.0; usecreateWriter(Types.StructType, MessageType)
instead.protected ParquetValueWriters.StructWriter<Record>
createStructWriter
(Types.StructType struct, List<ParquetValueWriter<?>> writers) protected ParquetValueWriter<Record>
createWriter
(Types.StructType struct, org.apache.parquet.schema.MessageType type) protected ParquetValueWriter<Record>
createWriter
(org.apache.parquet.schema.MessageType type) protected ParquetValueWriter<?>
dateWriter
(org.apache.parquet.column.ColumnDescriptor desc) protected ParquetValueWriter<?>
fixedWriter
(org.apache.parquet.column.ColumnDescriptor desc) protected ParquetValueWriter<?>
timestampWriter
(org.apache.parquet.column.ColumnDescriptor desc, boolean isAdjustedToUTC) protected ParquetValueWriter<?>
timeWriter
(org.apache.parquet.column.ColumnDescriptor desc)
-
Method Details
-
buildWriter
@Deprecated public static ParquetValueWriter<Record> buildWriter(org.apache.parquet.schema.MessageType type) Deprecated.will be removed in 1.10.0; usecreate(Schema, MessageType)
instead.Build a writer for a Parquet schema. -
create
public static ParquetValueWriter<Record> create(Schema schema, org.apache.parquet.schema.MessageType type) -
createStructWriter
@Deprecated protected ParquetValueWriters.StructWriter<Record> createStructWriter(List<ParquetValueWriter<?>> writers) Deprecated.will be removed in 1.10.0; usecreateWriter(Types.StructType, MessageType)
instead.Create a struct writer from a list of writers. -
createStructWriter
protected ParquetValueWriters.StructWriter<Record> createStructWriter(Types.StructType struct, List<ParquetValueWriter<?>> writers) -
fixedWriter
-
dateWriter
-
timeWriter
-
timestampWriter
protected ParquetValueWriter<?> timestampWriter(org.apache.parquet.column.ColumnDescriptor desc, boolean isAdjustedToUTC) -
createWriter
-
createWriter
protected ParquetValueWriter<Record> createWriter(Types.StructType struct, org.apache.parquet.schema.MessageType type)
-
create(Schema, MessageType)
instead.