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

com.jn.sqlhelper.jsqlparser.expression.NullExpressionConverter Maven / Gradle / Ivy

The newest version!
package com.jn.sqlhelper.jsqlparser.expression;

import com.jn.sqlhelper.dialect.expression.NullExpression;
import net.sf.jsqlparser.expression.NullValue;

public class NullExpressionConverter implements ExpressionConverter{
    @Override
    public NullValue toJSqlParserExpression(NullExpression expression) {
        return new NullValue();
    }

    @Override
    public NullExpression fromJSqlParserExpression(NullValue expression) {
        return null;
    }

    @Override
    public Class getStandardExpressionClass() {
        return NullExpression.class;
    }

    @Override
    public Class getJSqlParserExpressionClass() {
        return NullValue.class;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy