public class MergeScope extends AbstractScope
node, parent, scopeType| Constructor and Description |
|---|
MergeScope(IScope parent,
TMergeSqlStatement stmt) |
| Modifier and Type | Method and Description |
|---|---|
FromScope |
getFromScope() |
TMergeSqlStatement |
getMergeStatement() |
List<INamespace> |
getVisibleNamespaces()
Default implementation: delegate to parent
|
void |
resolve(List<String> names,
INameMatcher matcher,
boolean deep,
IResolved resolved)
Resolve a name within this MERGE scope.
|
INamespace |
resolveTable(String tableName)
Default implementation: delegate to parent
|
void |
setFromScope(FromScope fromScope) |
String |
toString() |
addChild, fullyQualify, getChildren, getNode, getParent, getScopeType, isWithinpublic MergeScope(IScope parent, TMergeSqlStatement stmt)
public void setFromScope(FromScope fromScope)
public FromScope getFromScope()
public TMergeSqlStatement getMergeStatement()
public INamespace resolveTable(String tableName)
AbstractScoperesolveTable in interface IScoperesolveTable in class AbstractScopetableName - Table name or aliaspublic List<INamespace> getVisibleNamespaces()
AbstractScopegetVisibleNamespaces in interface IScopegetVisibleNamespaces in class AbstractScopepublic void resolve(List<String> names, INameMatcher matcher, boolean deep, IResolved resolved)
resolve in interface IScoperesolve in class AbstractScopenames - Name parts (e.g., ["schema", "table", "column"])matcher - Name matcher for case sensitivity rulesdeep - Whether to recursively resolve into record fieldsresolved - Callback to collect all matchespublic String toString()
toString in class AbstractScope