Package org.apache.iceberg.orc
Class ORCFormatModel<D,S,R>
java.lang.Object
org.apache.iceberg.formats.BaseFormatModel<D,S,OrcRowWriter<?>,R,org.apache.orc.TypeDescription>
org.apache.iceberg.orc.ORCFormatModel<D,S,R>
- All Implemented Interfaces:
org.apache.iceberg.formats.FormatModel<D,S>
public class ORCFormatModel<D,S,R>
extends org.apache.iceberg.formats.BaseFormatModel<D,S,OrcRowWriter<?>,R,org.apache.orc.TypeDescription>
-
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> ORCFormatModel<D, S, OrcBatchReader<?>> create(Class<D> type, Class<S> schemaType, org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<OrcBatchReader<?>, S, org.apache.orc.TypeDescription> batchReaderFunction) static <D,S> ORCFormatModel<D, S, OrcRowReader<D>> create(Class<D> type, Class<S> schemaType, org.apache.iceberg.formats.BaseFormatModel.WriterFunction<OrcRowWriter<?>, S, org.apache.orc.TypeDescription> writerFunction, org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<OrcRowReader<D>, S, org.apache.orc.TypeDescription> readerFunction) org.apache.iceberg.FileFormatformat()static <D> ORCFormatModel<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> ORCFormatModel<org.apache.iceberg.deletes.PositionDelete<D>,Void, forPositionDeletes()Object> -
create
public static <D,S> ORCFormatModel<D,S, createOrcRowReader<D>> (Class<D> type, Class<S> schemaType, org.apache.iceberg.formats.BaseFormatModel.WriterFunction<OrcRowWriter<?>, S, org.apache.orc.TypeDescription> writerFunction, org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<OrcRowReader<D>, S, org.apache.orc.TypeDescription> readerFunction) -
create
public static <D,S> ORCFormatModel<D,S, createOrcBatchReader<?>> (Class<D> type, Class<S> schemaType, org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<OrcBatchReader<?>, S, org.apache.orc.TypeDescription> batchReaderFunction) -
format
public org.apache.iceberg.FileFormat format() -
writeBuilder
-
readBuilder
-