Package mondrian.rolap.agg
Class SegmentLoaderTest.MyDelegatingInvocationHandler
- java.lang.Object
-
- mondrian.util.DelegatingInvocationHandler
-
- mondrian.rolap.agg.SegmentLoaderTest.MyDelegatingInvocationHandler
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
- Enclosing class:
- SegmentLoaderTest
public static class SegmentLoaderTest.MyDelegatingInvocationHandler extends DelegatingInvocationHandler
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.sql.ResultSetMetaData
resultSetMetaData
(package private) int
row
boolean
wasNull
-
Constructor Summary
Constructors Constructor Description MyDelegatingInvocationHandler(java.util.List<java.lang.Object[]> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
int
getColumnType(int column)
double
getDouble(int column)
int
getInt(int column)
java.sql.ResultSetMetaData
getMetaData()
java.lang.Object
getObject(int column)
protected java.lang.Object
getTarget()
Returns the object to forward method calls to, should the derived class not implement the method.boolean
next()
boolean
wasNull()
-
Methods inherited from class mondrian.util.DelegatingInvocationHandler
invoke
-
-
-
-
Method Detail
-
getTarget
protected java.lang.Object getTarget()
Description copied from class:DelegatingInvocationHandler
Returns the object to forward method calls to, should the derived class not implement the method. Generally, this object will be a member of the derived class, supplied as a parameter to its constructor.The default implementation returns null, which will cause the
DelegatingInvocationHandler.invoke(Object, java.lang.reflect.Method, Object[])
method to throw anUnsupportedOperationException
if the derived class does not have the required method.- Overrides:
getTarget
in classDelegatingInvocationHandler
- Returns:
- object to forward method calls to
-
getMetaData
public java.sql.ResultSetMetaData getMetaData()
-
getColumnCount
public int getColumnCount()
-
getColumnType
public int getColumnType(int column)
-
next
public boolean next()
-
getObject
public java.lang.Object getObject(int column)
-
getInt
public int getInt(int column)
-
getDouble
public double getDouble(int column)
-
wasNull
public boolean wasNull()
-
-