Class PGBuffersStruct.Binary

    • Field Detail

      • ALLOC

        public static final io.netty.buffer.ByteBufAllocator ALLOC
    • Constructor Detail

      • Binary

        public Binary​(Context context,
                      java.lang.String typeName,
                      Type[] attributeTypes,
                      io.netty.buffer.ByteBuf[] attributeBuffers)
    • Method Detail

      • encode

        public static PGBuffersStruct.Binary encode​(Context context,
                                                    CompositeType type,
                                                    java.lang.Object[] values)
                                             throws java.sql.SQLException,
                                                    java.io.IOException
        Throws:
        java.sql.SQLException
        java.io.IOException
      • getAttribute

        protected java.lang.Object getAttribute​(Context context,
                                                Type type,
                                                io.netty.buffer.ByteBuf buffer)
                                         throws java.io.IOException
        Specified by:
        getAttribute in class PGBuffersStruct<io.netty.buffer.ByteBuf>
        Throws:
        java.io.IOException