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