Class DataSourceTestInfo

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        The Constant serialVersionUID.
        See Also:
        Constant Field Values
      • maxRows

        private int maxRows
        The max rows.
      • rowsPerPage

        private int rowsPerPage
        The rows per page.
      • historySize

        private int historySize
        The history size.
    • Constructor Detail

      • DataSourceTestInfo

        public DataSourceTestInfo()
        DataSourceTestInfo Constructor.
    • Method Detail

      • addQueryToHistory

        public void addQueryToHistory​(String sql)
        Adds the query to history.
        Parameters:
        sql - the sql
      • getResults

        public List<Map<String,​String>> getResults()
        Gets the results.
        Returns:
        the results
      • setResults

        public void setResults​(List<Map<String,​String>> results)
        Sets the results.
        Parameters:
        results - the results
      • getQueryHistory

        public List<String> getQueryHistory()
        Gets the query history.
        Returns:
        the query history
      • getMaxRows

        public int getMaxRows()
        Gets the max rows.
        Returns:
        the max rows
      • setMaxRows

        public void setMaxRows​(int maxRows)
        Sets the max rows.
        Parameters:
        maxRows - the new max rows
      • getRowsPerPage

        public int getRowsPerPage()
        Gets the rows per page.
        Returns:
        the rows per page
      • setRowsPerPage

        public void setRowsPerPage​(int rowsPerPage)
        Sets the rows per page.
        Parameters:
        rowsPerPage - the new rows per page
      • getHistorySize

        public int getHistorySize()
        Gets the history size.
        Returns:
        the history size
      • setHistorySize

        public void setHistorySize​(int historySize)
        Sets the history size.
        Parameters:
        historySize - the new history size