public class DeleteScope extends AbstractScope
node, parent, scopeType| Constructor and Description |
|---|
DeleteScope(IScope parent,
TDeleteSqlStatement stmt) |
| Modifier and Type | Method and Description |
|---|---|
TDeleteSqlStatement |
getDeleteStatement() |
FromScope |
getFromScope() |
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 DELETE 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 DeleteScope(IScope parent, TDeleteSqlStatement stmt)
public void setFromScope(FromScope fromScope)
public FromScope getFromScope()
public void setWhereScope(IScope whereScope)
public IScope getWhereScope()
public TDeleteSqlStatement getDeleteStatement()
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