public class DefaultResultSetCollector extends Object implements ResultSetCollector
| Constructor and Description |
|---|
DefaultResultSetCollector(boolean fillInUnreadValues) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount() |
String |
getColumnLabel(int column) |
String |
getColumnName(int column) |
List<List<Object>> |
getRows() |
boolean |
methodReturned(ResultSetSpy resultSetSpy,
String methodCall,
Object returnValue,
Object targetObject,
Object... methodParams)
Expected to be called by a ResultSetSpy for all jdbc methods.
|
void |
preMethod(ResultSetSpy resultSetSpy,
String methodCall,
Object... methodParams)
Expected to be called by a ResultSetSpy for prior to the execution of all jdbc methods.
|
void |
reset()
Clear the result set so far.
|
public DefaultResultSetCollector(boolean fillInUnreadValues)
public List<List<Object>> getRows()
getRows in interface ResultSetCollectorpublic int getColumnCount()
getColumnCount in interface ResultSetCollectorpublic void reset()
ResultSetCollectorreset in interface ResultSetCollectorpublic String getColumnName(int column)
getColumnName in interface ResultSetCollectorpublic String getColumnLabel(int column)
public boolean methodReturned(ResultSetSpy resultSetSpy, String methodCall, Object returnValue, Object targetObject, Object... methodParams)
ResultSetCollectormethodReturned in interface ResultSetCollectorpublic void preMethod(ResultSetSpy resultSetSpy, String methodCall, Object... methodParams)
ResultSetCollectorpreMethod in interface ResultSetCollectorCopyright © 2013 Bgee - Swiss Institute of Bioinformatics. All Rights Reserved.