org.axiondb.functions
public class SignFunction extends BaseFunction implements ScalarFunction, FunctionFactory
double value. If the value
is less than zero, -1 is returned. If the value equals zero, 0 is returned. If the
value is greater than zero, 1 is returned.
Version: $Revision: 1.7 $ $Date: 2005/12/20 18:32:28 $
| Constructor Summary | |
|---|---|
| SignFunction() Creates a new instance of Class | |
| Method Summary | |
|---|---|
| Object | evaluate(RowDecorator row) |
| DataType | getDataType() |
| boolean | isValid() |
| ConcreteFunction | makeNewInstance() |