| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final DataTypeDescriptor | Returns: the output Class (null if cannot operate on value expression of this type.the input type, either a user type or a java.lang object inputType, StringBuffer output parameter, filled in
with the class name that implements com.ibm.db2j.aggregates.Aggregator aggregatorClass)Implements org. Determines the result datatype. |
| pack-priv final boolean | |
| pack-priv final void |
| isMax | back to summary |
|---|---|
| private boolean isMax | |
| MaxMinAggregateDefinition | back to summary |
|---|---|
| public MaxMinAggregateDefinition() Niladic constructor. Does nothing. For ease Of use, only. | |
| getAggregator | back to summary |
|---|---|
| public final DataTypeDescriptor getAggregator(DataTypeDescriptor inputType, StringBuffer aggregatorClass) Implements org. Determines the result datatype. Accept NumberDataValues only. Note In the future you should be able to do a sum user data types. One option would be to run sum on anything that implements divide().
| |
| isMax | back to summary |
|---|---|
| pack-priv final boolean isMax() Return if the aggregator class is for min/max.
| |
| setMaxOrMin | back to summary |
|---|---|
| pack-priv final void setMaxOrMin(boolean isMax) This is set by the parser. | |