Class QueryStatement<T>

    • Constructor Detail

      • QueryStatement

        protected QueryStatement​(java.lang.String sql)
      • QueryStatement

        protected QueryStatement​(java.lang.String sql,
                                 int fetchSize)
    • Method Detail

      • executeQuery

        public T executeQuery​(java.sql.PreparedStatement statement)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • prepare

        public abstract void prepare​(java.sql.PreparedStatement statement)
                              throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • processResults

        public abstract T processResults​(java.sql.ResultSet set)
                                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getSql

        public java.lang.String getSql()
      • toString

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