@Override public DependencyPair executeSysProcPlanFragment( TransactionState txnState, Map<Integer, List<VoltTable>> dependencies, long fragmentId, ParameterSet params) { ProcedureRunner runner = m_loadedProcedures.getSysproc(fragmentId); return runner.executePlanFragment(txnState, dependencies, fragmentId, params); }
/** Update the catalog. If we're the MPI, don't bother with the EE. */ public boolean updateCatalog( String diffCmds, CatalogContext context, CatalogSpecificPlanner csp, boolean isMPI) { m_context = context; m_loadedProcedures.loadProcedures(m_context, m_backend, csp); if (!isMPI) { // Necessary to quiesce before updating the catalog // so export data for the old generation is pushed to Java. m_ee.quiesce(m_lastCommittedTxnId); m_ee.updateCatalog(m_context.m_timestamp, diffCmds); } return true; }
@Override public ProcedureRunner getProcedureRunner(String procedureName) { return m_loadedProcedures.getProcByName(procedureName); }