public static class SegmentLoaderTest.MyDelegatingInvocationHandler extends DelegatingInvocationHandler
Modifier and Type | Field and Description |
---|---|
(package private) ResultSetMetaData |
resultSetMetaData |
(package private) int |
row |
boolean |
wasNull |
Constructor and Description |
---|
SegmentLoaderTest.MyDelegatingInvocationHandler(List<Object[]> list) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
int |
getColumnType(int column) |
double |
getDouble(int column) |
int |
getInt(int column) |
ResultSetMetaData |
getMetaData() |
Object |
getObject(int column) |
protected Object |
getTarget()
Returns the object to forward method calls to, should the derived class
not implement the method.
|
boolean |
next() |
boolean |
wasNull() |
invoke
int row
public boolean wasNull
ResultSetMetaData resultSetMetaData
protected Object getTarget()
DelegatingInvocationHandler
The default implementation returns null, which will cause the
DelegatingInvocationHandler.invoke(Object, java.lang.reflect.Method, Object[])
method
to throw an UnsupportedOperationException
if the derived class
does not have the required method.
getTarget
in class DelegatingInvocationHandler
public ResultSetMetaData getMetaData()
public int getColumnCount()
public int getColumnType(int column)
public boolean next()
public Object getObject(int column)
public int getInt(int column)
public double getDouble(int column)
public boolean wasNull()