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

com.jn.sqlhelper.jsqlparser.expression.LesserOrEqualExpressionConverter 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.LesserOrEqualExpression;
import net.sf.jsqlparser.expression.operators.relational.MinorThanEquals;

public class LesserOrEqualExpressionConverter extends BinaryExpressionConverter {

    public LesserOrEqualExpressionConverter(){
        setJsqlparserExpressionSupplier(new Supplier() {
            @Override
            public MinorThanEquals get(LesserOrEqualExpression input) {
                return new MinorThanEquals();
            }
        });
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy