| Package | Description |
|---|---|
| gudusoft.gsqlparser.dlineage.routine |
| Modifier and Type | Method and Description |
|---|---|
RoutineDeclaration |
RoutineRegistry.declare(RoutineDeclaration declaration)
Adds a declaration, or replaces the current occurrence of its identity; returns the declaration it
replaced, or null.
|
RoutineDeclaration |
RoutineRegistry.find(RoutineDeclaration.Identity identity)
The current occurrence of an identity, or null.
|
RoutineDeclaration |
RoutineLookupResult.getResolved()
The one declaration found, only when
RoutineLookupResult.getStatus() is RESOLVED. |
static RoutineDeclaration |
RoutineDeclaration.of(Object model,
Object origin,
RoutineName name,
TParameterDeclarationList parameters,
EDbVendor vendor,
IdentifierService service)
of(Object, RoutineName, TParameterDeclarationList, Object, EDbVendor, IdentifierService) for a
top-level routine; model is not kept (the typed registry holds declarations, not legacy models). |
static RoutineDeclaration |
RoutineDeclaration.of(Object origin,
RoutineName name,
TParameterDeclarationList parameters,
Object scope,
EDbVendor vendor,
IdentifierService service)
A declaration from its AST:
scope the routine it is local to (null for a top-level or package
routine). |
static RoutineDeclaration |
RoutineDeclaration.ofCall(Object origin,
RoutineName name,
Integer argumentCount,
EDbVendor vendor)
A routine known only from a call or an EXEC of a module never defined here: a name and a count.
|
| Modifier and Type | Method and Description |
|---|---|
List<RoutineDeclaration> |
RoutineLookupResult.getCandidates() |
List<RoutineDeclaration> |
RoutineRegistry.getDeclarations() |
| Modifier and Type | Method and Description |
|---|---|
RoutineDeclaration |
RoutineRegistry.declare(RoutineDeclaration declaration)
Adds a declaration, or replaces the current occurrence of its identity; returns the declaration it
replaced, or null.
|