public class UsingClause extends AbstractFragment implements MergeFragment
USING clause of an SQL MERGE statement.root| Constructor and Description |
|---|
UsingClause(Fragment root,
String sourceTable)
Create a new instance of a
UsingClause. |
UsingClause(Fragment root,
String sourceTable,
String as)
Create a new instance of a
UsingClause. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MergeVisitor visitor)
Accept a visitor (e.g.
|
getRootpublic UsingClause(Fragment root, String sourceTable)
UsingClause.root - root SQL statement this USING clause belongs tosourceTable - origin of the data to be mergedpublic UsingClause(Fragment root, String sourceTable, String as)
UsingClause.root - root SQL statement this USING clause belongs toas - table aliassourceTable - origin of the data to be mergedpublic void accept(MergeVisitor visitor)
MergeFragmentaccept in interface MergeFragmentvisitor - visitor to acceptCopyright © 2018–2021. All rights reserved.