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

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

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

import com.jn.sqlhelper.dialect.expression.DoubleExpression;
import net.sf.jsqlparser.expression.DoubleValue;

public class DoubleExpressionConverter implements ExpressionConverter{
    @Override
    public DoubleValue toJSqlParserExpression(DoubleExpression expression) {
        return new DoubleValue(expression.toString());
    }

    @Override
    public DoubleExpression fromJSqlParserExpression(DoubleValue expression) {
        return null;
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy