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