saffron.runtime
Class IteratorResultSet.FieldGetter
java.lang.Object
|
+--saffron.runtime.IteratorResultSet.FieldGetter
- All Implemented Interfaces:
- IteratorResultSet.ColumnGetter
- Enclosing class:
- IteratorResultSet
- public static class IteratorResultSet.FieldGetter
- extends Object
- implements IteratorResultSet.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 |
clazz
private final Class clazz
emptyFieldArray
private static final Field[] emptyFieldArray
fields
private final Field[] fields
IteratorResultSet.FieldGetter
public IteratorResultSet.FieldGetter(Class clazz)
get
public Object get(Object o,
int columnIndex)
- Specified by:
get
in interface IteratorResultSet.ColumnGetter
getColumnNames
public String[] getColumnNames()
- Specified by:
getColumnNames
in interface IteratorResultSet.ColumnGetter
getFields
private Field[] getFields()