mondrian.rolap.agg
Class SegmentLoaderTest.MyDelegatingInvocationHandler

java.lang.Object
  extended by mondrian.util.DelegatingInvocationHandler
      extended by mondrian.rolap.agg.SegmentLoaderTest.MyDelegatingInvocationHandler
All Implemented Interfaces:
InvocationHandler
Enclosing class:
SegmentLoaderTest

public static class SegmentLoaderTest.MyDelegatingInvocationHandler
extends DelegatingInvocationHandler


Field Summary
(package private)  ResultSetMetaData resultSetMetaData
           
(package private)  int row
           
 boolean wasNull
           
 
Constructor Summary
SegmentLoaderTest.MyDelegatingInvocationHandler(List<Object[]> list)
           
 
Method Summary
 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()
           
 
Methods inherited from class mondrian.util.DelegatingInvocationHandler
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

row

int row

wasNull

public boolean wasNull

resultSetMetaData

ResultSetMetaData resultSetMetaData
Constructor Detail

SegmentLoaderTest.MyDelegatingInvocationHandler

public SegmentLoaderTest.MyDelegatingInvocationHandler(List<Object[]> list)
Method Detail

getTarget

protected 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 an UnsupportedOperationException if the derived class does not have the required method.

Overrides:
getTarget in class DelegatingInvocationHandler
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()

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads