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;
}
}