public final class PostgresqlRoutineRefResolver extends AbstractRoutineRefResolver
Resolution tiers:
| Constructor and Description |
|---|
PostgresqlRoutineRefResolver(List<String> searchPath) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
classifyExternalIfKnown(BoundRoutineRef ref)
Called for unresolved refs to check if they are known external dependencies.
|
protected BoundRoutineRef |
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.
|
buildNameIndex, buildUpperCaseIndex, findBestDefaultParamMatch, findByNameAndArgCount, resolve, tryKindVariantspublic PostgresqlRoutineRefResolver(List<String> searchPath)
protected BoundRoutineRef tryResolve(BoundRoutineRef ref, BoundProgram program, Map<String,BoundRoutineSymbol> upperIndex, Map<String,List<BoundRoutineSymbol>> nameIndex)
AbstractRoutineRefResolvertryResolve in class AbstractRoutineRefResolverref - the unresolved refprogram - the program containing all routinesupperIndex - case-insensitive routineId → symbol indexnameIndex - case-insensitive name → list of symbols indexprotected void classifyExternalIfKnown(BoundRoutineRef ref)
AbstractRoutineRefResolverclassifyExternalIfKnown in class AbstractRoutineRefResolver