| Package | Description |
|---|---|
| gudusoft.gsqlparser.ir.bound | |
| gudusoft.gsqlparser.ir.builder.common | |
| gudusoft.gsqlparser.ir.builder.postgresql | |
| gudusoft.gsqlparser.ir.common |
| Modifier and Type | Method and Description |
|---|---|
BoundRoutineRef |
BoundRoutineRef.withResolvedRoutine(BoundRoutineSymbol resolved)
Creates a copy of this ref with a resolved routine, updating binding status to EXACT.
|
BoundRoutineRef |
BoundRoutineRef.withResolvedRoutine(BoundRoutineSymbol resolved,
EBindingStatus status,
List<BoundRoutineSymbol> candidates,
Evidence newEvidence)
Creates a copy of this ref with the given binding status, resolved routine,
optional overload candidates, and optional evidence.
|
| Modifier and Type | Method and Description |
|---|---|
List<BoundRoutineRef> |
BoundProgram.getAllRoutineRefs() |
| Modifier and Type | Method and Description |
|---|---|
void |
BoundProgram.addRoutineRef(BoundRoutineRef ref) |
| Modifier and Type | Method and Description |
|---|---|
void |
BoundProgram.replaceRoutineRefs(List<BoundRoutineRef> resolved)
Replaces the entire routine ref list (used after post-resolution pass).
|
| Constructor and Description |
|---|
BoundProgram(List<BoundScope> scopes,
Map<String,BoundRoutineSymbol> routineIndex,
List<BoundObjectRef> allObjectRefs,
List<BoundColumnRef> allColumnRefs,
List<BoundRoutineRef> allRoutineRefs) |
| Modifier and Type | Method and Description |
|---|---|
protected BoundRoutineRef |
AbstractSymbolCollector.createRoutineRef(String name,
List<String> parts,
Evidence evidence,
Confidence confidence,
SourceAnchor anchor)
Creates a BoundRoutineRef and adds it to the program.
|
protected BoundRoutineRef |
AbstractSymbolCollector.createRoutineRef(String name,
List<String> parts,
List<BoundArgument> args,
Evidence evidence,
Confidence confidence,
SourceAnchor anchor)
Creates a BoundRoutineRef with arguments and adds it to the program.
|
protected abstract BoundRoutineRef |
AbstractRoutineRefResolver.tryResolve(BoundRoutineRef ref,
BoundProgram program,
Map<String,BoundRoutineSymbol> upperIndex,
Map<String,List<BoundRoutineSymbol>> nameIndex)
Attempts to resolve a single routine ref against the known routines.
|
| Modifier and Type | Method and Description |
|---|---|
List<BoundRoutineRef> |
DynamicSqlExtraction.getRoutineRefs() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractRoutineRefResolver.classifyExternalIfKnown(BoundRoutineRef ref)
Called for unresolved refs to check if they are known external dependencies.
|
protected abstract BoundRoutineRef |
AbstractRoutineRefResolver.tryResolve(BoundRoutineRef ref,
BoundProgram program,
Map<String,BoundRoutineSymbol> upperIndex,
Map<String,List<BoundRoutineSymbol>> nameIndex)
Attempts to resolve a single routine ref against the known routines.
|
| Constructor and Description |
|---|
DynamicSqlExtraction(DynamicSqlExtraction.Status status,
String originalText,
String normalizedSql,
TStatementList stmts,
List<BoundObjectRef> objectRefs,
List<BoundRoutineRef> routineRefs,
Confidence confidence,
String reason,
String owningRoutineId,
SourceAnchor anchor) |
| Modifier and Type | Method and Description |
|---|---|
protected BoundRoutineRef |
PostgresqlRoutineRefResolver.tryResolve(BoundRoutineRef ref,
BoundProgram program,
Map<String,BoundRoutineSymbol> upperIndex,
Map<String,List<BoundRoutineSymbol>> nameIndex) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PostgresqlRoutineRefResolver.classifyExternalIfKnown(BoundRoutineRef ref) |
protected BoundRoutineRef |
PostgresqlRoutineRefResolver.tryResolve(BoundRoutineRef ref,
BoundProgram program,
Map<String,BoundRoutineSymbol> upperIndex,
Map<String,List<BoundRoutineSymbol>> nameIndex) |
| Modifier and Type | Method and Description |
|---|---|
R |
AbstractIRVisitor.visitBoundRoutineRef(BoundRoutineRef node,
C ctx) |
R |
IRVisitor.visitBoundRoutineRef(BoundRoutineRef node,
C ctx) |