Class AbstractSpecificGraphToObjectDeserializer

java.lang.Object
ai.stapi.graphoperations.graphDeserializers.ogmDeserializer.specific.AbstractSpecificGraphToObjectDeserializer
All Implemented Interfaces:
SpecificGraphToObjectDeserializer
Direct Known Subclasses:
InterfaceGraphToObjectDeserializer, LeafGraphToObjectDeserializer, ListGraphToObjectDeserializer, MapGraphToObjectDeserializer, ObjectGraphToObjectDeserializer

public abstract class AbstractSpecificGraphToObjectDeserializer extends Object implements SpecificGraphToObjectDeserializer
  • Field Details

  • Constructor Details

  • Method Details

    • traverseSingleGraphBranch

      protected ai.stapi.graph.traversableGraphElements.TraversableGraphElement traverseSingleGraphBranch(ai.stapi.identity.UniqueIdentifier firstElementId, Declaration declaration, ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository contextualGraph)
    • traverseMultipleGraphBranch

      protected List<ai.stapi.graph.traversableGraphElements.TraversableGraphElement> traverseMultipleGraphBranch(ai.stapi.identity.UniqueIdentifier firstElementId, Declaration declaration, ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository contextualGraph)
    • traverseSingleGraphBranchToValue

      protected Object traverseSingleGraphBranchToValue(ai.stapi.identity.UniqueIdentifier firstElementId, Declaration declaration, ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository contextualGraph, MissingTraversalTargetResolvingStrategy missingFieldStrategy)
    • doesGraphDescriptionDescribesGivenGraphElement

      protected boolean doesGraphDescriptionDescribesGivenGraphElement(ai.stapi.graph.traversableGraphElements.TraversableGraphElement element, GraphDescription graphDescription)
    • loadElement

      protected ai.stapi.graph.traversableGraphElements.TraversableGraphElement loadElement(ai.stapi.identity.UniqueIdentifier graphElementId, ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository graph)
    • convertReadResultToTraversableGraphElement

      protected ai.stapi.graph.traversableGraphElements.TraversableGraphElement convertReadResultToTraversableGraphElement(ReadResult readResult)
    • updateLastGraphDescription

      protected GraphDescription updateLastGraphDescription(GraphDescription lastGraphDescription, GraphDescription lastlyTraversedDescription)
    • ensureElementsAreNodes

      protected List<ai.stapi.graph.traversableGraphElements.TraversableGraphElement> ensureElementsAreNodes(List<ai.stapi.graph.traversableGraphElements.TraversableGraphElement> traversedField, GraphDescription lastGraphDescription)