Package com.exasol.sql.dml.merge
Interface MergeVisitor
-
- All Superinterfaces:
ValueTableVisitor
- All Known Implementing Classes:
MergeRenderer
public interface MergeVisitor extends ValueTableVisitor
Visitor for value tables.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
leave(InsertFields insertFields)
Leave the insert field list.void
visit(DerivedColumn derivedColumn)
Visit a derived column reference.void
visit(InsertFields insertFields)
Visit the insert field list.void
visit(MatchedClause matchedClause)
Visit the definition of the merge strategy in case of matching rows.void
visit(Merge merge)
VisitMERGE
statements.void
visit(MergeColumnUpdate mergeColumnUpdate)
Visit the update of a single column inside aMERGE
statement.void
visit(MergeDeleteClause mergeDeleteClause)
Visit the deletion definition.void
visit(MergeInsertClause mergeInsertClause)
Visit the insert definition.void
visit(MergeUpdateClause mergeUpdateClause)
Visit the update definition.void
visit(NotMatchedClause notMatchedClause)
Visit the merge strategy in case of rows that have no match in the destination table.void
visit(OnClause onClause)
Visit the merge condition definition.void
visit(UsingClause using)
Visit the source definition of aMERGE
statement.void
visit(WhereClause whereClause)
Visit aWHERE
clause.void
visit(Table table)
Visit database tables.-
Methods inherited from interface com.exasol.sql.ValueTableVisitor
leave, leave, visit, visit
-
-
-
-
Method Detail
-
visit
void visit(Merge merge)
VisitMERGE
statements.- Parameters:
merge
-MERGE
statement to be visited.
-
visit
void visit(Table table)
Visit database tables.- Parameters:
table
- table to be visited.
-
visit
void visit(UsingClause using)
Visit the source definition of aMERGE
statement.- Parameters:
using
- source definition
-
visit
void visit(OnClause onClause)
Visit the merge condition definition.- Parameters:
onClause
- merge condition definition
-
visit
void visit(MatchedClause matchedClause)
Visit the definition of the merge strategy in case of matching rows.- Parameters:
matchedClause
- merge strategy definition for matches
-
visit
void visit(MergeUpdateClause mergeUpdateClause)
Visit the update definition.- Parameters:
mergeUpdateClause
- update definition.
-
visit
void visit(MergeColumnUpdate mergeColumnUpdate)
Visit the update of a single column inside aMERGE
statement.- Parameters:
mergeColumnUpdate
- update definition for a single column
-
visit
void visit(MergeDeleteClause mergeDeleteClause)
Visit the deletion definition.- Parameters:
mergeDeleteClause
- deletion definition
-
visit
void visit(NotMatchedClause notMatchedClause)
Visit the merge strategy in case of rows that have no match in the destination table.- Parameters:
notMatchedClause
- merge strategy for rows without match
-
visit
void visit(MergeInsertClause mergeInsertClause)
Visit the insert definition.- Parameters:
mergeInsertClause
- insert definition
-
visit
void visit(InsertFields insertFields)
Visit the insert field list.- Parameters:
insertFields
- insert field list
-
leave
void leave(InsertFields insertFields)
Leave the insert field list.- Parameters:
insertFields
- insert field list
-
visit
void visit(DerivedColumn derivedColumn)
Visit a derived column reference.- Parameters:
derivedColumn
- derived column reference
-
visit
void visit(WhereClause whereClause)
Visit aWHERE
clause.- Parameters:
whereClause
- theWHERE
clause to be visited
-
-