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

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

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

import com.jn.sqlhelper.dialect.expression.StringExpression;
import net.sf.jsqlparser.expression.StringValue;

public class StringExpressionConverter implements ExpressionConverter {
    @Override
    public StringValue toJSqlParserExpression(StringExpression expression) {
        return new StringValue(expression.getValue());
    }

    @Override
    public StringExpression fromJSqlParserExpression(StringValue expression) {
        return null;
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy