Package com.foundationdb.server.service.dxl

Examples of com.foundationdb.server.service.dxl.DelegatingContext


        final AkibanInformationSchema origAIS = schemaManager.getAis(session);
        final AkibanInformationSchema newAIS = schemaManager.getOnlineAIS(session);

        final Schema origSchema = SchemaCache.globalSchema(origAIS);
        final StoreAdapter origAdapter = store.createAdapter(session, origSchema);
        final QueryContext origContext = new DelegatingContext(origAdapter, context);
        final QueryBindings origBindings = origContext.createBindings();

        final TransformCache transformCache = getTransformCache(session, null);
        Set<Table> origRoots = findOldRoots(changeSets, origAIS, newAIS);

        for(Table root : origRoots) {
View Full Code Here


    private static QueryContext contextIfNull(QueryContext context, StoreAdapter adapter) {
        if(context == null) {
            return new SimpleQueryContext(adapter);
        }
        assert(context.getSession() != null);
        return new DelegatingContext(adapter, context);
    }
View Full Code Here

TOP

Related Classes of com.foundationdb.server.service.dxl.DelegatingContext

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.