Class ResultBatch

  • All Implemented Interfaces:
    io.netty.util.ReferenceCounted, java.lang.AutoCloseable

    public class ResultBatch
    extends io.netty.util.AbstractReferenceCounted
    implements java.lang.AutoCloseable
    • Constructor Detail

      • ResultBatch

        public ResultBatch​(java.lang.String command,
                           java.lang.Long rowsAffected,
                           java.lang.Long insertedOid,
                           ResultField[] fields,
                           RowDataSet rows)
    • Method Detail

      • hasRows

        public boolean hasRows()
      • isEmpty

        public boolean isEmpty()
      • getCommand

        public java.lang.String getCommand()
      • hasRowsAffected

        public boolean hasRowsAffected()
      • getRowsAffected

        public java.lang.Long getRowsAffected()
      • getInsertedOid

        public java.lang.Long getInsertedOid()
      • clearRowsAffected

        public void clearRowsAffected()
      • deallocate

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

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

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object