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

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

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

import com.jn.langx.util.function.Supplier;
import com.jn.sqlhelper.dialect.expression.AddExpression;
import net.sf.jsqlparser.expression.operators.arithmetic.Addition;

public class AddExpressionConverter extends BinaryExpressionConverter {
    public AddExpressionConverter() {
        setJsqlparserExpressionSupplier(new Supplier() {
            @Override
            public Addition get(AddExpression input) {
                return new Addition();
            }
        });
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy