public class QueryResultTO extends Object implements Serializable
| Constructor and Description |
|---|
QueryResultTO() |
QueryResultTO(StatementTO statement) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetadata(String key,
Object value) |
int |
getAffectedRows() |
List<String> |
getColumnsNames() |
String |
getExceptionCause() |
String |
getExceptionMessage() |
String |
getExceptionTrace() |
Map<String,Object> |
getMetadata() |
String |
getSqlWarnings() |
StatementTO |
getStatement() |
List<List<String>> |
getTableResult() |
boolean |
isSelect() |
void |
setAffectedRows(int affectedRows) |
void |
setColumnsNames(List<String> columnsNames) |
void |
setExceptionCause(String exceptionCause) |
void |
setExceptionMessage(String exceptionMessage) |
void |
setExceptionTrace(String exceptionTrace) |
void |
setMetadata(Map<String,Object> metadata) |
void |
setSelect(boolean select) |
void |
setSqlWarnings(String sqlWarnings) |
void |
setStatement(StatementTO statement) |
void |
setTableResult(List<List<String>> tableResult) |
String |
toString() |
public QueryResultTO()
public QueryResultTO(StatementTO statement)
public StatementTO getStatement()
public void setStatement(StatementTO statement)
statement - the statement to setpublic int getAffectedRows()
public void setAffectedRows(int affectedRows)
affectedRows - the affectedRows to setpublic boolean isSelect()
public void setSelect(boolean select)
select - the select to setpublic void setColumnsNames(List<String> columnsNames)
columnsNames - the columnsNames to setpublic void setTableResult(List<List<String>> tableResult)
tableResult - the tableResult to setpublic void setMetadata(Map<String,Object> metadata)
metadata - the metadata to setpublic String getSqlWarnings()
public void setSqlWarnings(String sqlWarnings)
sqlWarnings - the sqlWarnings to setpublic String getExceptionMessage()
public void setExceptionMessage(String exceptionMessage)
exceptionMessage - the exceptionMessage to setpublic String getExceptionCause()
public void setExceptionCause(String exceptionCause)
exceptionCause - the exceptionCause to setpublic String getExceptionTrace()
public void setExceptionTrace(String exceptionTrace)
exceptionTrace - the exceptionTrace to setCopyright © 2016–2018. All rights reserved.