com.jn.sqlhelper.jsqlparser.expression.SubtractExpressionConverter 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.SubtractExpression;
import net.sf.jsqlparser.expression.operators.arithmetic.Subtraction;
public class SubtractExpressionConverter extends BinaryExpressionConverter {
public SubtractExpressionConverter() {
setJsqlparserExpressionSupplier(new Supplier() {
@Override
public Subtraction get(SubtractExpression input) {
return new Subtraction();
}
});
}
@Override
public Class getStandardExpressionClass() {
return SubtractExpression.class;
}
@Override
public Class getJSqlParserExpressionClass() {
return Subtraction.class;
}
}