Interface GraphContainerProvider
-
- All Known Implementing Classes:
GraphmlGraphContainerProvider
,PersistenceGraphContainerProvider
,SingleGraphContainerProvider
public interface GraphContainerProvider
AGraphContainerProvider
is responsible for providing anImmutableGraphContainer
as 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 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.ImmutableGraphContainer
loadGraphContainer()
Returns a fully loadedImmutableGraphContainer
object, containing ALL vertices and edges.
-
-
-
Method Detail
-
loadGraphContainer
ImmutableGraphContainer loadGraphContainer()
Returns a fully loadedImmutableGraphContainer
object, 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
-
-