Struct arangors_graph_exporter::graph_loader::GraphLoader
source · pub struct GraphLoader { /* private fields */ }
Implementations§
source§impl GraphLoader
impl GraphLoader
pub async fn new( db_config: DatabaseConfiguration, load_config: DataLoadConfiguration, vertex_collections: Vec<CollectionInfo>, edge_collections: Vec<CollectionInfo>, ) -> Result<GraphLoader, GraphLoaderError>
pub async fn new_named( db_config: DatabaseConfiguration, load_config: DataLoadConfiguration, graph_name: String, vertex_global_fields: Option<Vec<String>>, edge_global_fields: Option<Vec<String>>, ) -> Result<GraphLoader, GraphLoaderError>
pub async fn new_custom( db_config: DatabaseConfiguration, load_config: DataLoadConfiguration, vertex_collections: Vec<CollectionInfo>, edge_collections: Vec<CollectionInfo>, ) -> Result<Self, GraphLoaderError>
pub async fn do_vertices<F>( &self, vertices_function: F, ) -> Result<(), GraphLoaderError>
pub async fn do_edges<F>( &self, edges_function: F, ) -> Result<(), GraphLoaderError>
pub fn get_vertex_collections_as_list(&self) -> Vec<String>
pub fn get_edge_collections_as_list(&self) -> Vec<String>
pub fn get_all_vertex_fields_as_list_to_return(&self) -> Vec<String>
pub fn get_all_vertices_fields_to_fetch_as_list(&self) -> Vec<String>
pub fn get_all_edges_fields_as_list_to_return(&self) -> Vec<String>
pub fn get_all_edges_fields_to_fetch_as_list(&self) -> Vec<String>
pub fn produce_vertex_projections(&self) -> Option<HashMap<String, Vec<String>>>
pub fn produce_edge_projections(&self) -> Option<HashMap<String, Vec<String>>>
Auto Trait Implementations§
impl Freeze for GraphLoader
impl RefUnwindSafe for GraphLoader
impl Send for GraphLoader
impl Sync for GraphLoader
impl Unpin for GraphLoader
impl UnwindSafe for GraphLoader
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