Class ValueWriters.StructWriter<S>

  • All Implemented Interfaces:
    ValueWriter<S>
    Enclosing class:
    ValueWriters

    public abstract static class ValueWriters.StructWriter<S>
    extends java.lang.Object
    implements ValueWriter<S>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected StructWriter​(java.util.List<ValueWriter<?>> 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 pos)  
      void write​(S row, org.apache.avro.io.Encoder encoder)  
      ValueWriter<?> writer​(int pos)  
      • 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<ValueWriter<?>> writers)
    • Method Detail

      • get

        protected abstract java.lang.Object get​(S struct,
                                                int pos)
      • write

        public void write​(S row,
                          org.apache.avro.io.Encoder encoder)
                   throws java.io.IOException
        Specified by:
        write in interface ValueWriter<S>
        Throws:
        java.io.IOException