public class NameResolver extends Object
| Constructor and Description |
|---|
NameResolver(INameMatcher nameMatcher,
ResolutionContext context)
Deprecated.
Use NameResolver(TSQLResolverConfig, ResolutionContext) instead
|
NameResolver(TSQLResolverConfig config,
ResolutionContext context)
Create a NameResolver with full configuration.
|
| Modifier and Type | Method and Description |
|---|---|
List<INamespace> |
findNamespacesWithColumn(String columnName,
IScope scope)
Find all namespaces that contain a given column.
|
ResolutionContext |
getContext() |
INameMatcher |
getNameMatcher() |
ResolutionResult |
resolve(TObjectName objName,
IScope scope)
Resolve a column reference (TObjectName) within a given scope.
|
ResolutionResult |
resolveInNamespace(String columnName,
INamespace namespace)
Resolve a column within a specific namespace (for direct lookups).
|
public NameResolver(TSQLResolverConfig config, ResolutionContext context)
config - The resolver configuration (includes name matcher and strategy)context - The resolution context for tracking results@Deprecated public NameResolver(INameMatcher nameMatcher, ResolutionContext context)
public ResolutionResult resolve(TObjectName objName, IScope scope)
objName - The column reference to resolvescope - The scope where the reference appearspublic ResolutionResult resolveInNamespace(String columnName, INamespace namespace)
public List<INamespace> findNamespacesWithColumn(String columnName, IScope scope)
public INameMatcher getNameMatcher()
public ResolutionContext getContext()