Package org.apache.iceberg.parquet
Class ParquetFormatModel<D,S,R>
java.lang.Object
org.apache.iceberg.formats.BaseFormatModel<D,S,ParquetValueWriter<?>,R,org.apache.parquet.schema.MessageType>
org.apache.iceberg.parquet.ParquetFormatModel<D,S,R>
- All Implemented Interfaces:
org.apache.iceberg.formats.FormatModel<D,S>
public class ParquetFormatModel<D,S,R>
extends org.apache.iceberg.formats.BaseFormatModel<D,S,ParquetValueWriter<?>,R,org.apache.parquet.schema.MessageType>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.iceberg.formats.BaseFormatModel
org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<R extends Object,S extends Object, F extends Object>, org.apache.iceberg.formats.BaseFormatModel.WriterFunction<W extends Object, S extends Object, F extends Object> -
Method Summary
Modifier and TypeMethodDescriptionstatic <D,S> ParquetFormatModel<D, S, VectorizedReader<?>> create(Class<? extends D> type, Class<S> schemaType, org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<VectorizedReader<?>, S, org.apache.parquet.schema.MessageType> batchReaderFunction) static <D,S> ParquetFormatModel<D, S, ParquetValueReader<?>> create(Class<D> type, Class<S> schemaType, org.apache.iceberg.formats.BaseFormatModel.WriterFunction<ParquetValueWriter<?>, S, org.apache.parquet.schema.MessageType> writerFunction, org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<ParquetValueReader<?>, S, org.apache.parquet.schema.MessageType> readerFunction) static <D,S> ParquetFormatModel<D, S, ParquetValueReader<?>> create(Class<D> type, Class<S> schemaType, org.apache.iceberg.formats.BaseFormatModel.WriterFunction<ParquetValueWriter<?>, S, org.apache.parquet.schema.MessageType> writerFunction, org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<ParquetValueReader<?>, S, org.apache.parquet.schema.MessageType> readerFunction, VariantShreddingAnalyzer<D, S> variantAnalyzer, UnaryOperator<D> copyFunc) org.apache.iceberg.FileFormatformat()static <D> ParquetFormatModel<org.apache.iceberg.deletes.PositionDelete<D>,Void, Object> readBuilder(org.apache.iceberg.io.InputFile inputFile) writeBuilder(org.apache.iceberg.encryption.EncryptedOutputFile outputFile) Methods inherited from class org.apache.iceberg.formats.BaseFormatModel
readerFunction, schemaType, type, writerFunction
-
Method Details
-
forPositionDeletes
public static <D> ParquetFormatModel<org.apache.iceberg.deletes.PositionDelete<D>,Void, forPositionDeletes()Object> -
create
public static <D,S> ParquetFormatModel<D,S, createParquetValueReader<?>> (Class<D> type, Class<S> schemaType, org.apache.iceberg.formats.BaseFormatModel.WriterFunction<ParquetValueWriter<?>, S, org.apache.parquet.schema.MessageType> writerFunction, org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<ParquetValueReader<?>, S, org.apache.parquet.schema.MessageType> readerFunction) -
create
public static <D,S> ParquetFormatModel<D,S, createParquetValueReader<?>> (Class<D> type, Class<S> schemaType, org.apache.iceberg.formats.BaseFormatModel.WriterFunction<ParquetValueWriter<?>, S, org.apache.parquet.schema.MessageType> writerFunction, org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<ParquetValueReader<?>, S, org.apache.parquet.schema.MessageType> readerFunction, VariantShreddingAnalyzer<D, S> variantAnalyzer, UnaryOperator<D> copyFunc) -
create
public static <D,S> ParquetFormatModel<D,S, createVectorizedReader<?>> (Class<? extends D> type, Class<S> schemaType, org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<VectorizedReader<?>, S, org.apache.parquet.schema.MessageType> batchReaderFunction) -
format
public org.apache.iceberg.FileFormat format() -
writeBuilder
-
readBuilder
-