Class QueryPacket

    • Constructor Detail

      • QueryPacket

        public QueryPacket​(String sql)
    • Method Detail

      • batchUpdateLength

        public int batchUpdateLength()
        Specified by:
        batchUpdateLength in interface org.mariadb.jdbc.message.ClientMessage
      • encode

        public int encode​(Writer writer,
                          org.mariadb.jdbc.client.Context context)
                   throws IOException
        Specified by:
        encode in interface org.mariadb.jdbc.message.ClientMessage
        Throws:
        IOException
      • isCommit

        public boolean isCommit()
      • description

        public String description()
        Specified by:
        description in interface org.mariadb.jdbc.message.ClientMessage