net.sf.jsqlparser.statement.replace.Replace Java Examples

The following examples show how to use net.sf.jsqlparser.statement.replace.Replace. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TableRenameVisitor.java    From compass with Apache License 2.0 6 votes vote down vote up
@Override
public void visit(Replace replace)
{
    replace.getTable().accept(this);
    
    if (replace.getExpressions() != null) 
    {
        for (Expression expression : replace.getExpressions()) 
        {
            expression.accept(this);
        }
    }
    if (replace.getItemsList() != null)
    {
        replace.getItemsList().accept(this);
    }
}
 
Example #2
Source File: TablesNamesFinder.java    From evosql with Apache License 2.0 5 votes vote down vote up
@Override
public void visit(Replace replace) {
    tables.add(replace.getTable().getName());
    if (replace.getExpressions() != null) {
        for (Expression expression : replace.getExpressions()) {
            expression.accept(this);
        }
    }
    if (replace.getItemsList() != null) {
        replace.getItemsList().accept(this);
    }
}
 
Example #3
Source File: AllColumnRefsFinder.java    From jobson with Apache License 2.0 4 votes vote down vote up
public void visit(Replace replace) {
    throw new UnsupportedSQLFeatureException("Feature Replace not supported");
}
 
Example #4
Source File: SqlElementVisitor.java    From foxtrot with Apache License 2.0 4 votes vote down vote up
@Override
public void visit(Replace replace) {
    //supported construct
}
 
Example #5
Source File: TableVisitor.java    From DDF with Apache License 2.0 2 votes vote down vote up
@Override
public void visit(Replace replace) throws Exception {

}