Struct nando_lib::plans::plan_manager::PhysicalPlanManager
source · pub(crate) struct PhysicalPlanManager {
parsed_plans: DashMap<String, ParsedPhysicalPlan>,
planning_progress: DashMap<EcbId, usize>,
}Fields§
§parsed_plans: DashMap<String, ParsedPhysicalPlan>§planning_progress: DashMap<EcbId, usize>Implementations§
source§impl PhysicalPlanManager
impl PhysicalPlanManager
fn new(plan_directory_path: Option<PathBuf>) -> Self
fn load_baked_plans() -> DashMap<String, ParsedPhysicalPlan>
fn parse_plans( plan_directory: ReadDir, parsed_plans: &mut DashMap<String, ParsedPhysicalPlan> )
pub fn get_physical_plan_manager( plan_directory: Option<PathBuf> ) -> &'static Arc<PhysicalPlanManager>
pub fn process_post_and_next_steps( &self, committed_task: &mut ECB, committed_activation: &NandoActivation, local_executor_at_capacity: bool ) -> HashMap<SubmissionLocation, Vec<(SpawnedTask, Option<Schedulable>)>>
fn process_post( &self, committed_task: &mut ECB, committed_activation: &NandoActivation, committed_task_idx: usize, post_action_block: &PostActionBlock ) -> (HashMap<OwnershipInformationKey, OwnershipInformation>, HashMap<SubmissionLocation, Vec<(SpawnedTask, Option<Schedulable>)>>)
pub fn next_step_from_plan( &self, committed_task: &ECB, plan: &ParsedPhysicalPlan, ownership_change_tasks: HashMap<OwnershipInformationKey, OwnershipInformation>, pending_task_map: HashMap<SubmissionLocation, Vec<(SpawnedTask, Option<Schedulable>)>> ) -> HashMap<SubmissionLocation, Vec<(SpawnedTask, Option<Schedulable>)>>
pub fn next_step_without_plan( &self, committed_task_ecb: &mut ECB, at_capacity: bool ) -> HashMap<SubmissionLocation, Vec<(SpawnedTask, Option<Schedulable>)>>
Auto Trait Implementations§
impl !RefUnwindSafe for PhysicalPlanManager
impl Send for PhysicalPlanManager
impl Sync for PhysicalPlanManager
impl Unpin for PhysicalPlanManager
impl UnwindSafe for PhysicalPlanManager
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request