Class GenericOrcWriter

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static OrcValueWriter<Record> buildWriter​(org.apache.orc.TypeDescription fileSchema)  
      void write​(Record value, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
      Writes the data.
      • Methods inherited from class java.lang.Object

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

      • buildWriter

        public static OrcValueWriter<Record> buildWriter​(org.apache.orc.TypeDescription fileSchema)
      • write

        public void write​(Record value,
                          org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
                   throws java.io.IOException
        Description copied from interface: OrcValueWriter
        Writes the data.
        Specified by:
        write in interface OrcValueWriter<Record>
        Parameters:
        value - the data value to write.
        output - the VectorizedRowBatch to which the output will be written.
        Throws:
        java.io.IOException - if there's any IO error while writing the data value.