Class Statement


  • public abstract class Statement
    extends Object
    Statement class for raw SQL statement
    • Constructor Detail

      • Statement

        public Statement​(String rawStatement)
    • Method Detail

      • getResult

        public abstract List<Map> getResult​(ResultSet resultSet)
                                     throws SQLException
        Provides the de-serialized outcome of the query.
        Parameters:
        resultSet - the result-set obtained from the DB.
        Returns:
        the result which contain each row and the corresponding column.
        Throws:
        SQLException
      • getStatement

        public String getStatement()
      • addParameter

        public void addParameter​(Object o)
      • getParameters

        public List<Object> getParameters()