Class GenericOrcReader

    • Constructor Summary

      Constructors 
      Constructor Description
      GenericOrcReader​(Schema expectedSchema, org.apache.orc.TypeDescription readOrcSchema, java.util.Map<java.lang.Integer,​?> idToConstant)  
    • Constructor Detail

      • GenericOrcReader

        public GenericOrcReader​(Schema expectedSchema,
                                org.apache.orc.TypeDescription readOrcSchema,
                                java.util.Map<java.lang.Integer,​?> idToConstant)
    • Method Detail

      • buildReader

        public static OrcRowReader<Record> buildReader​(Schema expectedSchema,
                                                       org.apache.orc.TypeDescription fileSchema)
      • buildReader

        public static OrcRowReader<Record> buildReader​(Schema expectedSchema,
                                                       org.apache.orc.TypeDescription fileSchema,
                                                       java.util.Map<java.lang.Integer,​?> idToConstant)
      • read

        public Record read​(org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch batch,
                           int row)
        Description copied from interface: OrcRowReader
        Reads a row.
        Specified by:
        read in interface OrcRowReader<Record>