public class RowNumberFunctionDefinition extends java.lang.Object implements AggregateDefinition
AggregateDefinition.FunctionType
Constructor and Description |
---|
RowNumberFunctionDefinition() |
Modifier and Type | Method and Description |
---|---|
DataTypeDescriptor |
getAggregator(DataTypeDescriptor inputType,
java.lang.StringBuffer aggregatorClassName)
Get the aggregator that performs the aggregation on the
input datatype at execution time.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromString
public DataTypeDescriptor getAggregator(DataTypeDescriptor inputType, java.lang.StringBuffer aggregatorClassName) throws StandardException
AggregateDefinition
The aggregator class must implement a zero argument constructor. The aggregator class can be the same class as the AggregateDefinition if it implements both interfaces.
The result datatype may be the same as the input datatype or a different datatype. To create your own type descriptor to return to this method, see com.ibm.db2j.types.TypeFactory.
getAggregator
in interface AggregateDefinition
inputType
- the input type descriptoraggregatorClassName
- output parameter, filled in
with the class name that implements com.ibm.db2j.aggregates.AggregatorStandardException
TypeDescriptor