K - key typepublic class MinimumDateMapMapper<K> extends MapMapper<K,java.util.Date>
MapMapper where the data field is Numerical that the minimum is selected from.
As the key is a SQLValue rather than a SQLExpression we may have multiple SQL rows mapping to the
same key so numerical results may have to be combined.qualify, use_aliasconn| Constructor and Description |
|---|
MinimumDateMapMapper(AppContext c,
GroupingSQLValue<K> key,
java.lang.String key_name,
SQLExpression<? extends java.util.Date> val,
java.lang.String value_name) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Date |
combine(java.util.Date a,
java.util.Date b)
If more than one database value maps to the same key we may have to
combine multiple results.
|
getNullKey, makeKey, makeResultmakeDefault, makeObjectaddAverage, addClause, addCount, addCount, addKey, addKeyList, addMaxDate, addMaxNumber, addMinDate, addMinNumber, addSQLAverage, addSQLCount, addSum, getModify, getModifyParameters, getRequiredFilter, getTarget, getTargetObject, getTargetParameters, setQualify, setUseAliasgetContext, getLogger, resetLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContextpublic MinimumDateMapMapper(AppContext c, GroupingSQLValue<K> key, java.lang.String key_name, SQLExpression<? extends java.util.Date> val, java.lang.String value_name) throws InvalidKeyException
InvalidKeyExceptionprotected java.util.Date combine(java.util.Date a,
java.util.Date b)
GeneralMapMapperCombineException
if the first parameter is non-null.combine in class GeneralMapMapper<K,java.util.Date>a - previous valueb - new value