Package org.teiid.query.processor

Examples of org.teiid.query.processor.ProcessorPlan.clone()


   
        // cloning the plan inside the resultset is not possible
        // because of the dependencies.
        ResultSetInfo clone = (ResultSetInfo)info.clone();
        ProcessorPlan plan = clone.getPlan();
        plan = plan.clone();
        clone.setPlan(plan);
       
        return new RelationalPlanExecutor(clone, this.commandContext, this.dataMgr, this.bufferMgr);
    }
   
View Full Code Here


        } else {
          ProcessorPlan cachedPlan = prepPlan.getPlan();
          this.userCommand = prepPlan.getCommand();
            validateAccess(userCommand);   
          LogManager.logTrace(LogConstants.CTX_DQP, new Object[] { "Query exist in cache: ", sqlQuery }); //$NON-NLS-1$
            processPlan = cachedPlan.clone();
            //already in cache. obtain the values from cache
            analysisRecord = prepPlan.getAnalysisRecord();
           
            createCommandContext();
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.