Class GenericOrcWriters.StructWriter<S>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected StructWriter​(java.util.List<OrcValueWriter<?>> writers)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract java.lang.Object get​(S struct, int index)  
      java.util.stream.Stream<FieldMetrics<?>> metrics()
      Returns a stream of FieldMetrics that this OrcValueWriter keeps track of.
      void nonNullWrite​(int rowId, S value, org.apache.orc.storage.ql.exec.vector.ColumnVector output)  
      void writeRow​(S value, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)  
      java.util.List<OrcValueWriter<?>> writers()  
      • Methods inherited from class java.lang.Object

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

      • StructWriter

        protected StructWriter​(java.util.List<OrcValueWriter<?>> writers)
    • Method Detail

      • nonNullWrite

        public void nonNullWrite​(int rowId,
                                 S value,
                                 org.apache.orc.storage.ql.exec.vector.ColumnVector output)
        Specified by:
        nonNullWrite in interface OrcValueWriter<S>
      • writeRow

        public void writeRow​(S value,
                             org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
      • get

        protected abstract java.lang.Object get​(S struct,
                                                int index)