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