org.axiondb.functions
public abstract class ArithmeticFunction extends BaseFunction implements ScalarFunction
Version: $Revision: 1.9 $ $Date: 2005/12/20 18:32:28 $
| Constructor Summary | |
|---|---|
| ArithmeticFunction(String name) | |
| Method Summary | |
|---|---|
| Object | evaluate(RowDecorator row) |
| DataType | getDataType() |
| boolean | isValid() |
| protected abstract BigDecimal | operate(BigDecimal left, BigDecimal right) |
| protected void | setDataType(DataType newType) |