Class ValueReaders.PlannedStructReader<S>

    • 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)  
      S read​(org.apache.avro.io.Decoder decoder, java.lang.Object reuse)  
      protected abstract S reuseOrCreate​(java.lang.Object reuse)  
      protected abstract void set​(S struct, int pos, java.lang.Object value)  
      void setRowPositionSupplier​(java.util.function.Supplier<java.lang.Long> posSupplier)  
      void skip​(org.apache.avro.io.Decoder decoder)  
      • Methods inherited from class java.lang.Object

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

      • PlannedStructReader

        protected PlannedStructReader​(java.util.List<Pair<java.lang.Integer,​ValueReader<?>>> readPlan)
    • Method Detail

      • reuseOrCreate

        protected abstract S reuseOrCreate​(java.lang.Object reuse)
      • get

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

        protected abstract void set​(S struct,
                                    int pos,
                                    java.lang.Object value)
      • read

        public S read​(org.apache.avro.io.Decoder decoder,
                      java.lang.Object reuse)
               throws java.io.IOException
        Specified by:
        read in interface ValueReader<S>
        Throws:
        java.io.IOException
      • skip

        public void skip​(org.apache.avro.io.Decoder decoder)
                  throws java.io.IOException
        Specified by:
        skip in interface ValueReader<S>
        Throws:
        java.io.IOException