Class GenericOrcWriter

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static OrcRowWriter<Record> buildWriter​(Schema expectedSchema, org.apache.orc.TypeDescription fileSchema)  
      java.util.stream.Stream<FieldMetrics<?>> metrics()
      Returns a stream of FieldMetrics that this OrcRowWriter keeps track of.
      void write​(Record value, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
      Writes or appends a row to ORC's VectorizedRowBatch.
      • Methods inherited from class java.lang.Object

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

      • buildWriter

        public static OrcRowWriter<Record> buildWriter​(Schema expectedSchema,
                                                       org.apache.orc.TypeDescription fileSchema)
      • write

        public void write​(Record value,
                          org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
        Description copied from interface: OrcRowWriter
        Writes or appends a row to ORC's VectorizedRowBatch.
        Specified by:
        write in interface OrcRowWriter<Record>
        Parameters:
        value - the row data value to write.
        output - the VectorizedRowBatch to which the output will be written.