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 Type
    Method
    Description
    static <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.FileFormat
     
    static <D> ORCFormatModel<org.apache.iceberg.deletes.PositionDelete<D>,Void,Object>
     
    org.apache.iceberg.formats.ReadBuilder<D,S>
    readBuilder(org.apache.iceberg.io.InputFile inputFile)
     
    org.apache.iceberg.formats.ModelWriteBuilder<D,S>
    writeBuilder(org.apache.iceberg.encryption.EncryptedOutputFile outputFile)
     

    Methods inherited from class org.apache.iceberg.formats.BaseFormatModel

    readerFunction, schemaType, type, writerFunction

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • forPositionDeletes

      public static <D> ORCFormatModel<org.apache.iceberg.deletes.PositionDelete<D>,Void,Object> forPositionDeletes()
    • create

      public 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)
    • create

      public static <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)
    • format

      public org.apache.iceberg.FileFormat format()
    • writeBuilder

      public org.apache.iceberg.formats.ModelWriteBuilder<D,S> writeBuilder(org.apache.iceberg.encryption.EncryptedOutputFile outputFile)
    • readBuilder

      public org.apache.iceberg.formats.ReadBuilder<D,S> readBuilder(org.apache.iceberg.io.InputFile inputFile)