Class ArrowFieldWriter<IN>

    • Constructor Detail

      • ArrowFieldWriter

        public ArrowFieldWriter​(org.apache.arrow.vector.ValueVector valueVector)
    • Method Detail

      • getValueVector

        public org.apache.arrow.vector.ValueVector getValueVector()
        Returns the underlying container which stores the sequence of values of a column.
      • getCount

        public int getCount()
        Returns the current count of elements written.
      • doWrite

        public abstract void doWrite​(IN row,
                                     int ordinal)
        Sets the field value as the field at the specified ordinal of the specified row.
      • write

        public void write​(IN row,
                          int ordinal)
        Writes the specified ordinal of the specified row.
      • finish

        public void finish()
        Finishes the writing of the current row batch.
      • reset

        public void reset()
        Resets the state of the writer to write the next batch of fields.