org.apache.pivot.sql
Class ResultList.Field
java.lang.Object
org.apache.pivot.sql.ResultList.Field
- Enclosing class:
- ResultList
public static final class ResultList.Field
- extends Object
Class that maps a result set column to a map key/value pair.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
columnName
public final String columnName
- The source column name.
key
public final String key
- The name of the map key. If null, the column name will be used.
type
public final Class<?> type
- The type of the map value. If null, the default SQL type will be used.
ResultList.Field
public ResultList.Field(String columnName)
ResultList.Field
public ResultList.Field(String columnName,
String key)
ResultList.Field
public ResultList.Field(String columnName,
String key,
Class<?> type)