com.jn.sqlhelper.jsqlparser.expression.PlaceholderExpressionConverter Maven / Gradle / Ivy
The newest version!
package com.jn.sqlhelper.jsqlparser.expression;
import com.jn.sqlhelper.dialect.expression.PlaceholderExpression;
import net.sf.jsqlparser.expression.JdbcParameter;
public class PlaceholderExpressionConverter implements ExpressionConverter {
@Override
public JdbcParameter toJSqlParserExpression(PlaceholderExpression expression) {
return new JdbcParameter();
}
@Override
public PlaceholderExpression fromJSqlParserExpression(JdbcParameter expression) {
return null;
}
@Override
public Class getStandardExpressionClass() {
return PlaceholderExpression.class;
}
@Override
public Class getJSqlParserExpressionClass() {
return JdbcParameter.class;
}
}