Class GenericOrcReader

    • Constructor Summary

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static OrcRowReader<Record> buildReader​(Schema expectedSchema, org.apache.orc.TypeDescription fileSchema)  
      static OrcRowReader<Record> buildReader​(Schema expectedSchema, org.apache.orc.TypeDescription fileSchema, java.util.Map<java.lang.Integer,​?> idToConstant)  
      Record read​(org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch batch, int row)
      Reads a row.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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>