Class InMemoryGraphLoader
java.lang.Object
ai.stapi.graphoperations.graphLoader.inmemory.InMemoryGraphLoader
- All Implemented Interfaces:
GraphLoader
-
Constructor Summary
ConstructorsConstructorDescriptionInMemoryGraphLoader(ai.stapi.graph.Graph graph, InMemoryGenericSearchOptionResolver searchOptionResolver, ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder, com.fasterxml.jackson.databind.ObjectMapper objectMapper) InMemoryGraphLoader(ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository inMemoryGraphRepository, InMemoryGenericSearchOptionResolver searchOptionResolver, ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionfind(GraphElementQueryDescription graphElementQueryDescription, Class<T> objectClass, GraphLoaderReturnType... returnTypes) List<ai.stapi.graph.traversableGraphElements.TraversableGraphElement>findAsTraversable(GraphElementQueryDescription graphDescription) <T> GraphLoaderGetAsObjectOutput<T>get(ai.stapi.identity.UniqueIdentifier elementId, GraphElementQueryDescription graphDescription, Class<T> objectClass, GraphLoaderReturnType... returnTypes) ai.stapi.graph.traversableGraphElements.TraversableGraphElementgetAsTraversable(ai.stapi.identity.UniqueIdentifier elementId, GraphElementQueryDescription graphDescription) getSearchOptionAttributeValue(ai.stapi.identity.UniqueIdentifier elementId, PositiveGraphDescription graphDescription)
-
Constructor Details
-
InMemoryGraphLoader
public InMemoryGraphLoader(ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository inMemoryGraphRepository, InMemoryGenericSearchOptionResolver searchOptionResolver, ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
InMemoryGraphLoader
public InMemoryGraphLoader(ai.stapi.graph.Graph graph, InMemoryGenericSearchOptionResolver searchOptionResolver, ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
findAsTraversable
public List<ai.stapi.graph.traversableGraphElements.TraversableGraphElement> findAsTraversable(GraphElementQueryDescription graphDescription) - Specified by:
findAsTraversablein interfaceGraphLoader
-
getAsTraversable
public ai.stapi.graph.traversableGraphElements.TraversableGraphElement getAsTraversable(ai.stapi.identity.UniqueIdentifier elementId, GraphElementQueryDescription graphDescription) - Specified by:
getAsTraversablein interfaceGraphLoader
-
find
public <T> GraphLoaderFindAsObjectOutput<T> find(GraphElementQueryDescription graphElementQueryDescription, Class<T> objectClass, GraphLoaderReturnType... returnTypes) - Specified by:
findin interfaceGraphLoader
-
get
public <T> GraphLoaderGetAsObjectOutput<T> get(ai.stapi.identity.UniqueIdentifier elementId, GraphElementQueryDescription graphDescription, Class<T> objectClass, GraphLoaderReturnType... returnTypes) - Specified by:
getin interfaceGraphLoader
-
getSearchOptionAttributeValue
public Object getSearchOptionAttributeValue(ai.stapi.identity.UniqueIdentifier elementId, PositiveGraphDescription graphDescription)
-