pub struct QueryEngine<'a> { /* private fields */ }Implementations§
Source§impl<'a> QueryEngine<'a>
impl<'a> QueryEngine<'a>
pub fn new(engine: &'a ForgeEngine) -> Self
pub fn get_blueprint(&self, id: &BlueprintId) -> ForgeResult<&Blueprint>
pub fn list_blueprints(&self) -> Vec<&Blueprint>
pub fn list_by_status(&self, status: BlueprintStatus) -> Vec<&Blueprint>
pub fn search_blueprints(&self, query: &str) -> Vec<&Blueprint>
pub fn blueprint_count(&self) -> usize
pub fn blueprint_exists(&self, id: &BlueprintId) -> bool
pub fn get_entity( &self, bp_id: &BlueprintId, entity_id: &EntityId, ) -> ForgeResult<&Entity>
pub fn get_entity_by_name( &self, bp_id: &BlueprintId, name: &str, ) -> ForgeResult<&Entity>
pub fn list_entities(&self, bp_id: &BlueprintId) -> ForgeResult<&[Entity]>
pub fn entity_count(&self, bp_id: &BlueprintId) -> ForgeResult<usize>
pub fn search_entities( &self, bp_id: &BlueprintId, query: &str, ) -> ForgeResult<Vec<&Entity>>
pub fn list_aggregate_roots( &self, bp_id: &BlueprintId, ) -> ForgeResult<Vec<&Entity>>
pub fn get_file( &self, bp_id: &BlueprintId, file_id: &FileId, ) -> ForgeResult<&FileBlueprint>
pub fn get_file_by_path( &self, bp_id: &BlueprintId, path: &str, ) -> ForgeResult<&FileBlueprint>
pub fn list_files(&self, bp_id: &BlueprintId) -> ForgeResult<&[FileBlueprint]>
pub fn list_files_by_type( &self, bp_id: &BlueprintId, ft: FileType, ) -> ForgeResult<Vec<&FileBlueprint>>
pub fn file_count(&self, bp_id: &BlueprintId) -> ForgeResult<usize>
pub fn get_dependency( &self, bp_id: &BlueprintId, dep_id: &DependencyId, ) -> ForgeResult<&Dependency>
pub fn get_dependency_by_name( &self, bp_id: &BlueprintId, name: &str, ) -> ForgeResult<&Dependency>
pub fn list_dependencies( &self, bp_id: &BlueprintId, ) -> ForgeResult<&[Dependency]>
pub fn list_dependencies_by_type( &self, bp_id: &BlueprintId, dt: DependencyType, ) -> ForgeResult<Vec<&Dependency>>
pub fn dependency_count(&self, bp_id: &BlueprintId) -> ForgeResult<usize>
pub fn get_test_case( &self, bp_id: &BlueprintId, tc_id: &TestCaseId, ) -> ForgeResult<&TestCase>
pub fn list_test_cases(&self, bp_id: &BlueprintId) -> ForgeResult<&[TestCase]>
pub fn list_tests_by_type( &self, bp_id: &BlueprintId, tt: TestType, ) -> ForgeResult<Vec<&TestCase>>
pub fn test_count(&self, bp_id: &BlueprintId) -> ForgeResult<usize>
pub fn list_type_definitions( &self, bp_id: &BlueprintId, ) -> ForgeResult<&[TypeDefinition]>
pub fn get_type_definition( &self, bp_id: &BlueprintId, name: &str, ) -> ForgeResult<&TypeDefinition>
pub fn list_function_blueprints( &self, bp_id: &BlueprintId, ) -> ForgeResult<&[FunctionBlueprint]>
pub fn list_layers( &self, bp_id: &BlueprintId, ) -> ForgeResult<&[ArchitectureLayer]>
pub fn list_concerns( &self, bp_id: &BlueprintId, ) -> ForgeResult<&[CrossCuttingConcern]>
pub fn list_wiring( &self, bp_id: &BlueprintId, ) -> ForgeResult<&[ComponentWiring]>
pub fn list_data_flows(&self, bp_id: &BlueprintId) -> ForgeResult<&[DataFlow]>
pub fn list_import_graph( &self, bp_id: &BlueprintId, ) -> ForgeResult<&[ImportEdge]>
pub fn get_generation_order( &self, bp_id: &BlueprintId, ) -> ForgeResult<&[String]>
pub fn validate_blueprint( &self, bp_id: &BlueprintId, ) -> ForgeResult<Vec<String>>
pub fn blueprint_summary( &self, bp_id: &BlueprintId, ) -> ForgeResult<BlueprintSummary>
Auto Trait Implementations§
impl<'a> Freeze for QueryEngine<'a>
impl<'a> RefUnwindSafe for QueryEngine<'a>
impl<'a> Send for QueryEngine<'a>
impl<'a> Sync for QueryEngine<'a>
impl<'a> Unpin for QueryEngine<'a>
impl<'a> UnsafeUnpin for QueryEngine<'a>
impl<'a> UnwindSafe for QueryEngine<'a>
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