public class UpdateScope extends AbstractScope
node, parent, scopeType| Constructor and Description |
|---|
UpdateScope(IScope parent,
TUpdateSqlStatement stmt) |
| Modifier and Type | Method and Description |
|---|---|
FromScope |
getFromScope() |
TUpdateSqlStatement |
getUpdateStatement() |
List<INamespace> |
getVisibleNamespaces()
Default implementation: delegate to parent
|
IScope |
getWhereScope() |
void |
resolve(List<String> names,
INameMatcher matcher,
boolean deep,
IResolved resolved)
Resolve a name within this UPDATE scope.
|
INamespace |
resolveTable(String tableName)
Default implementation: delegate to parent
|
void |
setFromScope(FromScope fromScope) |
void |
setWhereScope(IScope whereScope) |
String |
toString() |
addChild, fullyQualify, getChildren, getNode, getParent, getScopeType, isWithinpublic UpdateScope(IScope parent, TUpdateSqlStatement stmt)
public void setFromScope(FromScope fromScope)
public FromScope getFromScope()
public void setWhereScope(IScope whereScope)
public IScope getWhereScope()
public TUpdateSqlStatement getUpdateStatement()
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