public class DataSourceTestInfo extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
DS_TEST_SESS_ATTR
The Constant DS_TEST_SESS_ATTR.
|
| Constructor and Description |
|---|
DataSourceTestInfo()
DataSourceTestInfo Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addQueryToHistory(String sql)
Adds the query to history.
|
int |
getHistorySize()
Gets the history size.
|
int |
getMaxRows()
Gets the max rows.
|
List<String> |
getQueryHistory()
Gets the query history.
|
List<Map<String,String>> |
getResults()
Gets the results.
|
int |
getRowsPerPage()
Gets the rows per page.
|
void |
setHistorySize(int historySize)
Sets the history size.
|
void |
setMaxRows(int maxRows)
Sets the max rows.
|
void |
setResults(List<Map<String,String>> results)
Sets the results.
|
void |
setRowsPerPage(int rowsPerPage)
Sets the rows per page.
|
public static final String DS_TEST_SESS_ATTR
public void addQueryToHistory(String sql)
sql - the sqlpublic void setResults(List<Map<String,String>> results)
results - the resultspublic List<String> getQueryHistory()
public int getMaxRows()
public void setMaxRows(int maxRows)
maxRows - the new max rowspublic int getRowsPerPage()
public void setRowsPerPage(int rowsPerPage)
rowsPerPage - the new rows per pagepublic int getHistorySize()
public void setHistorySize(int historySize)
historySize - the new history sizeCopyright © 2009–2020 psi-probe. All rights reserved.