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

com.jn.sqlhelper.jsqlparser.expression.IntegerOrLongValueExpressionConverter Maven / Gradle / Ivy

The newest version!
package com.jn.sqlhelper.jsqlparser.expression;

import com.jn.sqlhelper.dialect.expression.IntegerOrLongExpression;
import net.sf.jsqlparser.expression.LongValue;

public class IntegerOrLongValueExpressionConverter implements ExpressionConverter {
    @Override
    public LongValue toJSqlParserExpression(IntegerOrLongExpression expression) {
        return new LongValue(expression.getValue());
    }

    @Override
    public IntegerOrLongExpression fromJSqlParserExpression(LongValue expression) {
        return null;
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy