Package org.teiid.query.optimizer.capabilities

Examples of org.teiid.query.optimizer.capabilities.AllCapabilities


    public void test1() throws Exception {
        // Set up a "real" finder
        final String SINGLE_MODEL = "singleModel"; //$NON-NLS-1$
        final String MULTI_MODEL = "multiModel";                //$NON-NLS-1$
        FakeCapabilitiesFinder realFinder = new FakeCapabilitiesFinder();
        realFinder.addCapabilities(SINGLE_MODEL, new AllCapabilities());
        realFinder.addCapabilities(MULTI_MODEL, new AllCapabilities());

        // Set up the multi source finder, which will dynamically override a few capabilities
        List models = new ArrayList();
        models.add(MULTI_MODEL);
        MultiSourceCapabilitiesFinder finder = new MultiSourceCapabilitiesFinder(realFinder, models);
View Full Code Here

TOP

Related Classes of org.teiid.query.optimizer.capabilities.AllCapabilities

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.