| Package | Description |
|---|---|
| gudusoft.gsqlparser.dlineage.dataflow.model | |
| gudusoft.gsqlparser.dlineage.routine | |
| gudusoft.gsqlparser.dlineage.symbol |
| Modifier and Type | Method and Description |
|---|---|
Procedure |
ModelFactory.createProcedure(TStoredProcedureSqlStatement stmt) |
Procedure |
ModelFactory.createProcedureByName(TObjectName procedureName,
int argumentSize) |
Procedure |
ModelFactory.createProcedureFromFunctionCall(TFunctionCall function) |
Procedure |
ProcedureRelationshipElement.getElement() |
Procedure |
Argument.getProcedure() |
Procedure |
ModelBindingManager.getProcedure(RoutineAliasKey key)
The routine a name as written refers to, by the legacy index's precedence (RoutineAliasRegistry.lookup).
|
Procedure |
ModelBindingManager.getProcedureByName(String procedureName)
Deprecated.
routines are keyed by their names as written: use
ModelBindingManager.getProcedure(RoutineAliasKey) |
Procedure |
ModelBindingManager.getRoutineModel(TCustomSqlStatement routine)
The lineage model of a routine statement: the routine model last bound to it, whatever else the statement was
bound to since.
|
| Modifier and Type | Method and Description |
|---|---|
List<Procedure> |
ModelBindingManager.getProcedureModels() |
List<Procedure> |
OraclePackage.getProcedures() |
| Modifier and Type | Method and Description |
|---|---|
void |
OraclePackage.addProcedure(Procedure procedure) |
void |
ModelBindingManager.bindProcedure(RoutineAliasKey key,
Procedure procedureModel)
Binds a routine model under one of its names as written with one alias suffix.
|
void |
ModelBindingManager.bindProcedureByName(String procedureName,
Procedure procedureModel)
Deprecated.
routines are keyed by their names as written: use
ModelBindingManager.bindProcedure(RoutineAliasKey, Procedure) |
void |
ModelFactory.bindVariableUnderIdentityScope(Procedure procedure,
String variableName,
Variable variable)
B1 (routine-summary-scc-design §3): additionally index a declared
formal's Variable under its routine's overload pool (its frozen scope
and declaration identity).
|
Argument |
ModelFactory.createProcedureArgument(Procedure procedure,
TParameterDeclaration parameter,
int index) |
Variable |
ModelFactory.createVariable(Procedure procedure,
String variableName,
boolean create)
The variable
variableName of procedure as a caller binds an argument to it: the routine's formal
(or local), in the routine's frozen scope, whatever the session's defaults are when the call is analyzed; created
there when create. |
Variable |
ModelFactory.findFormalVariable(Procedure procedure,
String variableName)
The formal-argument variable of
procedure named
variableName, WITHOUT the pool stage's complex-typed refusal
(#695). |
void |
ModelFactory.pushIdentityScope(String identityScopeKey,
Procedure procedure)
Enters a routine body's overload pool: the routine model it belongs to (its legacy identity text is kept as
metadata only).
|
void |
Argument.setProcedure(Procedure procedure) |
| Modifier and Type | Method and Description |
|---|---|
void |
OraclePackage.setProcedures(List<Procedure> procedures) |
| Constructor and Description |
|---|
Argument(Procedure procedure,
TParameterDeclaration parameterObject,
int index) |
ProcedureRelationshipElement(Procedure procedure) |
ProcedureRelationshipElement(Procedure procedure,
ESqlClause relationLocation) |
| Modifier and Type | Method and Description |
|---|---|
static void |
RoutineShadow.declared(ModelBindingManager manager,
String site,
TStoredProcedureSqlStatement stmt,
Procedure legacy)
A routine statement the legacy registry was asked to create a model for, and the model it returned
(a new one, or an existing one it found by name).
|
static void |
RoutineShadow.declaredFromCall(ModelBindingManager manager,
String site,
TObjectName written,
Object origin,
Integer argumentCount,
CatalogObjectKind wanted,
Procedure legacy)
A routine the legacy registry was asked for by name from a call or an EXEC (
origin is the call or
name node): it returns an existing routine it found by name, or a new one made from origin. |
static void |
RoutineShadow.lookedUp(ModelBindingManager manager,
String site,
TCustomSqlStatement at,
TObjectName written,
Integer[] aliases,
CatalogObjectKind wanted,
Procedure legacy)
A callee lookup at a call site inside
at and the routine the legacy lookup settled on (null when
none). |
| Modifier and Type | Method and Description |
|---|---|
static Object |
LocalScopes.scopeOf(ModelBindingManager manager,
Procedure procedure)
The frozen scope of a routine model: its display key, qualified by its package's; a routine declared inside
another routine is scoped inside that routine's scope, so same-named nested routines of two routines are two
scopes.
|