Package mondrian.rolap.agg
Class SegmentLoaderTest.MyDelegatingInvocationHandler
- java.lang.Object
-
- mondrian.util.DelegatingInvocationHandler
-
- mondrian.rolap.agg.SegmentLoaderTest.MyDelegatingInvocationHandler
-
- All Implemented Interfaces:
InvocationHandler
- Enclosing class:
- SegmentLoaderTest
public static class SegmentLoaderTest.MyDelegatingInvocationHandler extends DelegatingInvocationHandler
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ResultSetMetaDataresultSetMetaData(package private) introwbooleanwasNull
-
Constructor Summary
Constructors Constructor Description MyDelegatingInvocationHandler(List<Object[]> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnCount()intgetColumnType(int column)doublegetDouble(int column)intgetInt(int column)ResultSetMetaDatagetMetaData()ObjectgetObject(int column)protected ObjectgetTarget()Returns the object to forward method calls to, should the derived class not implement the method.booleannext()booleanwasNull()-
Methods inherited from class mondrian.util.DelegatingInvocationHandler
invoke
-
-
-
-
Field Detail
-
row
int row
-
wasNull
public boolean wasNull
-
resultSetMetaData
ResultSetMetaData resultSetMetaData
-
-
Method Detail
-
getTarget
protected Object getTarget()
Description copied from class:DelegatingInvocationHandlerReturns 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 anUnsupportedOperationExceptionif the derived class does not have the required method.- Overrides:
getTargetin classDelegatingInvocationHandler- Returns:
- object to forward method calls to
-
getMetaData
public ResultSetMetaData getMetaData()
-
getColumnCount
public int getColumnCount()
-
getColumnType
public int getColumnType(int column)
-
next
public boolean next()
-
getObject
public Object getObject(int column)
-
getInt
public int getInt(int column)
-
getDouble
public double getDouble(int column)
-
wasNull
public boolean wasNull()
-
-