Class EofPacket

    • Constructor Detail

      • EofPacket

        public EofPacket​(Sequencer sequencer,
                         short serverStatus,
                         short warningCount,
                         boolean resultSetEnd,
                         boolean ending)
    • Method Detail

      • decode

        public static EofPacket decode​(Sequencer sequencer,
                                       io.netty.buffer.ByteBuf buf,
                                       Context context,
                                       boolean resultSetEnd)
      • decodeOutputParam

        public static EofPacket decodeOutputParam​(Sequencer sequencer,
                                                  io.netty.buffer.ByteBuf buf,
                                                  Context context)
        This is for mysql that doesn't send MORE_RESULTS_EXISTS flag, but sending an OK_Packet after, breaking protocol.
        Parameters:
        sequencer - sequencer
        buf - current EOF buf
        context - current context
        Returns:
        Eof packet
      • getServerStatus

        public short getServerStatus()
      • getWarningCount

        public short getWarningCount()