public class ResultsHolder extends Object
Data structure. Holder of expected resutls and metadata.
Constructor and Description |
---|
ResultsHolder(String type) |
Modifier and Type | Method and Description |
---|---|
String |
getExceptionClassName() |
String |
getExceptionMsg() |
List |
getIdentifiers() |
String |
getQuery() |
String |
getQueryID() |
String |
getResultType() |
List |
getRows() |
List |
getTypes() |
boolean |
hasRows() |
boolean |
isException() |
boolean |
isResult() |
void |
setExceptionClassName(String className) |
void |
setExceptionMsg(String msg) |
void |
setIdentifiers(List identifiers) |
void |
setQuery(String query) |
void |
setQueryID(String queryID) |
void |
setResultType(String resultType) |
void |
setRows(List rows) |
void |
setTypes(List types) |
String |
toString() |
public ResultsHolder(String type)
public String getQueryID()
public void setQueryID(String queryID)
public String getQuery()
public void setQuery(String query)
query
- The query to set.public boolean isResult()
public boolean isException()
public String getResultType()
public void setResultType(String resultType)
public List getRows()
public void setRows(List rows)
public List getTypes()
public void setTypes(List types)
public List getIdentifiers()
public void setIdentifiers(List identifiers)
public String getExceptionClassName()
public void setExceptionClassName(String className)
public String getExceptionMsg()
public void setExceptionMsg(String msg)
public boolean hasRows()
Copyright © 2019. All rights reserved.