Java Code Examples for net.sf.jsqlparser.statement.merge.Merge

The following examples show how to use net.sf.jsqlparser.statement.merge.Merge. These examples are extracted from open source projects. 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 Project: evosql   Source File: TablesNamesFinder.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public void visit(Merge merge) {
    tables.add(merge.getTable().getName());
    if (merge.getUsingTable() != null) {
        merge.getUsingTable().accept(this);
    } else if (merge.getUsingSelect() != null) {
        merge.getUsingSelect().accept((FromItemVisitor) this);
    }
}
 
Example 2
Source Project: jobson   Source File: AllColumnRefsFinder.java    License: Apache License 2.0 4 votes vote down vote up
public void visit(Merge merge) {
    throw new UnsupportedSQLFeatureException("Feature Merge not supported");
}