All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.harbby.dsxparser.function.IsNotNull Maven / Gradle / Ivy

The newest version!
package com.github.harbby.dsxparser.function;

import com.github.harbby.dsxparser.DsxFunc;
import com.github.harbby.dsxparser.FuncInfo;
import com.github.harbby.dsxparser.tree.Expression;
import com.github.harbby.dsxparser.tree.QualifiedName;

import java.util.List;

@FuncInfo(value = "isNotNull", argsNumber = 1)
public class IsNotNull extends DsxFunc {
    public IsNotNull(QualifiedName name, List arguments) {
        super(name, arguments);
    }

    @Override
    public String doGenSql() {
        return String.format("isNotNull(%s)", arguments.get(0).doGenSql());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy