Class FieldBuffersRowData

  • All Implemented Interfaces:
    RowData, UpdatableRowData, io.netty.util.ReferenceCounted

    public class FieldBuffersRowData
    extends io.netty.util.AbstractReferenceCounted
    implements UpdatableRowData, io.netty.util.ReferenceCounted
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldBuffersRowData​(ResultField[] fields, io.netty.buffer.ByteBufAllocator alloc)  
      FieldBuffersRowData​(io.netty.buffer.ByteBuf[] fieldBuffers, io.netty.buffer.ByteBufAllocator alloc)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void deallocate()  
      UpdatableRowData duplicateForUpdate()  
      java.lang.Object getField​(int fieldIdx, ResultField field, Context context, java.lang.Class<?> targetClass, java.lang.Object targetContext)  
      io.netty.buffer.ByteBuf[] getFieldBuffers()  
      int getFieldCount()  
      FieldBuffersRowData touch​(java.lang.Object hint)  
      void updateField​(int columnIndex, ResultField field, Context context, java.lang.Object source, java.lang.Object sourceContext)  
      • Methods inherited from class io.netty.util.AbstractReferenceCounted

        refCnt, release, release, retain, retain, setRefCnt, touch
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.netty.util.ReferenceCounted

        refCnt, release, release, retain, retain, touch
    • Constructor Detail

      • FieldBuffersRowData

        public FieldBuffersRowData​(ResultField[] fields,
                                   io.netty.buffer.ByteBufAllocator alloc)
      • FieldBuffersRowData

        public FieldBuffersRowData​(io.netty.buffer.ByteBuf[] fieldBuffers,
                                   io.netty.buffer.ByteBufAllocator alloc)
    • Method Detail

      • getField

        public java.lang.Object getField​(int fieldIdx,
                                         ResultField field,
                                         Context context,
                                         java.lang.Class<?> targetClass,
                                         java.lang.Object targetContext)
                                  throws java.io.IOException
        Specified by:
        getField in interface RowData
        Throws:
        java.io.IOException
      • updateField

        public void updateField​(int columnIndex,
                                ResultField field,
                                Context context,
                                java.lang.Object source,
                                java.lang.Object sourceContext)
                         throws java.io.IOException
        Specified by:
        updateField in interface UpdatableRowData
        Throws:
        java.io.IOException
      • deallocate

        protected void deallocate()
        Specified by:
        deallocate in class io.netty.util.AbstractReferenceCounted
      • touch

        public FieldBuffersRowData touch​(java.lang.Object hint)
        Specified by:
        touch in interface io.netty.util.ReferenceCounted