public class BoundProgram extends Object
Contains all scopes, symbols, and references produced by the bound IR builder.
| Constructor and Description |
|---|
BoundProgram() |
BoundProgram(List<BoundScope> scopes,
Map<String,BoundRoutineSymbol> routineIndex,
List<BoundObjectRef> allObjectRefs,
List<BoundColumnRef> allColumnRefs,
List<BoundRoutineRef> allRoutineRefs) |
public BoundProgram()
public BoundProgram(List<BoundScope> scopes, Map<String,BoundRoutineSymbol> routineIndex, List<BoundObjectRef> allObjectRefs, List<BoundColumnRef> allColumnRefs, List<BoundRoutineRef> allRoutineRefs)
public List<BoundScope> getScopes()
public Map<String,BoundRoutineSymbol> getRoutineIndex()
public Map<String,List<BoundRoutineSymbol>> getRoutinesByName()
public List<BoundObjectRef> getAllObjectRefs()
public List<BoundColumnRef> getAllColumnRefs()
public List<BoundRoutineRef> getAllRoutineRefs()
public void addScope(BoundScope scope)
public void registerRoutine(BoundRoutineSymbol routine)
public void unregisterRoutine(String routineId)
public void addObjectRef(BoundObjectRef ref)
public void addColumnRef(BoundColumnRef ref)
public void addRoutineRef(BoundRoutineRef ref)
public List<DynamicSqlExtraction> getDynamicSqlExtractions()
public void addDynamicSqlExtraction(DynamicSqlExtraction extraction)
public Map<String,Integer> getUnsupportedCounters()
public void incrementUnsupported(String key)
public BoundRoutineSymbol lookupRoutine(String routineId)
public void replaceRoutineRefs(List<BoundRoutineRef> resolved)