Package org.teiid.dqp.internal.process
Class CachedFinder
- java.lang.Object
-
- org.teiid.dqp.internal.process.CachedFinder
-
- All Implemented Interfaces:
CapabilitiesFinder
public class CachedFinder extends Object implements CapabilitiesFinder
-
-
Constructor Summary
Constructors Constructor Description CachedFinder(ConnectorManagerRepository repo, VDBMetaData vdb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceCapabilities
findCapabilities(String modelName)
Find capabilities used the cache if possible, otherwise do the lookup.boolean
isValid(String modelName)
-
-
-
Constructor Detail
-
CachedFinder
public CachedFinder(ConnectorManagerRepository repo, VDBMetaData vdb)
-
-
Method Detail
-
findCapabilities
public SourceCapabilities findCapabilities(String modelName) throws TeiidComponentException
Find capabilities used the cache if possible, otherwise do the lookup.- Specified by:
findCapabilities
in interfaceCapabilitiesFinder
- Throws:
TeiidComponentException
-
isValid
public boolean isValid(String modelName)
- Specified by:
isValid
in interfaceCapabilitiesFinder
-
-