Interface GraphContainerProvider
-
- All Known Implementing Classes:
GraphmlGraphContainerProvider,PersistenceGraphContainerProvider,SingleGraphContainerProvider
public interface GraphContainerProviderAGraphContainerProvideris responsible for providing anImmutableGraphContaineras well as the meta information of that container. If possible the implementators should not load the full container whengetContainerInfo()is invoked.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GraphContainerInfogetContainerInfo()InvokingloadGraphContainer()may take some time, so it is not feasible to invoke it, if only the meta data of the container is requested.ImmutableGraphContainerloadGraphContainer()Returns a fully loadedImmutableGraphContainerobject, containing ALL vertices and edges.
-
-
-
Method Detail
-
loadGraphContainer
ImmutableGraphContainer loadGraphContainer()
Returns a fully loadedImmutableGraphContainerobject, containing ALL vertices and edges. May be slow.- Returns:
- The populated container
-
getContainerInfo
GraphContainerInfo getContainerInfo()
InvokingloadGraphContainer()may take some time, so it is not feasible to invoke it, if only the meta data of the container is requested. Therefore thegetContainerInfo()should return very quickly with the meta data of the container and its graphs.- Returns:
- The container's meta data
-
-