gigl.src.subgraph_sampler.lib.ingestion_protocol#

Classes#

BaseIngestion

Users should implement this protocol for their ingestion into GraphDB.

Module Contents#

class gigl.src.subgraph_sampler.lib.ingestion_protocol.BaseIngestion[source]#

Bases: Protocol

Users should implement this protocol for their ingestion into GraphDB.

clean_up()[source]#

This function runs after the ingestion process. It can be used to perform any operation needed such as closing connections, cleaning up temporary files, etc.

Return type:

None

ingest(gbml_config_pb_wrapper, resource_config_uri, applied_task_identifier, custom_worker_image_uri=None)[source]#

This function runs the ingestion process. Should perform the operations needed to ingest all data into GraphDB in preperation for running subgraph sampler queries.

Parameters:
Return type:

None