Class IdentifyingGraphSynchronizer

java.lang.Object
ai.stapi.graphoperations.synchronization.IdentifyingGraphSynchronizer
All Implemented Interfaces:
GraphSynchronizer

public class IdentifyingGraphSynchronizer extends Object implements GraphSynchronizer
  • Constructor Details

    • IdentifyingGraphSynchronizer

      public IdentifyingGraphSynchronizer(ai.stapi.graph.NodeRepository nodeRepository, ai.stapi.graph.EdgeRepository edgeRepository, NodeIdentifyingFiltersResolver nodeIdentifyingFiltersResolver, GraphLoader graphLoader, InMemoryGenericSearchOptionResolver searchOptionResolver, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder)
  • Method Details

    • synchronize

      public void synchronize(ai.stapi.graph.Graph graph) throws ai.stapi.graph.exceptions.GraphException
      Specified by:
      synchronize in interface GraphSynchronizer
      Throws:
      ai.stapi.graph.exceptions.GraphException
    • mergeDuplicateNodesByIdentificators

      public ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository mergeDuplicateNodesByIdentificators(ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository graphWithDuplications)