org.eigenbase.runtime
Class AbstractIterResultSet.FieldGetter
java.lang.Object
org.eigenbase.runtime.AbstractIterResultSet.FieldGetter
- All Implemented Interfaces:
- AbstractIterResultSet.ColumnGetter
- Enclosing class:
- AbstractIterResultSet
public static class AbstractIterResultSet.FieldGetter
- extends Object
- implements AbstractIterResultSet.ColumnGetter
A FieldGetter
retrieves each public field as a separate
column.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
emptyFieldArray
private static final Field[] emptyFieldArray
clazz
private final Class clazz
fields
private final Field[] fields
AbstractIterResultSet.FieldGetter
public AbstractIterResultSet.FieldGetter(Class clazz)
getColumnNames
public String[] getColumnNames()
- Specified by:
getColumnNames
in interface AbstractIterResultSet.ColumnGetter
get
public Object get(Object o,
int columnIndex)
- Specified by:
get
in interface AbstractIterResultSet.ColumnGetter
getFields
private Field[] getFields()