org.axiondb.functions
public class NullIfFunction extends BaseFunction implements ScalarFunction, FunctionFactory
The result of using NULLIF(e1,e2) is the same as using the expression
CASE WHEN e1=e2 THEN NULL ELSE e1 END
Version: $Revision: 1.5 $ $Date: 2005/12/20 18:32:28 $
| Constructor Summary | |
|---|---|
| NullIfFunction() | |
| Method Summary | |
|---|---|
| Object | evaluate(RowDecorator row) |
| DataType | getDataType() |
| boolean | isValid() |
| ConcreteFunction | makeNewInstance() |