public class SingleGraphContainerProvider extends Object implements GraphContainerProvider
Constructor and Description |
---|
SingleGraphContainerProvider(GraphProvider graphProvider,
GraphContainerInfo containerInfo) |
Modifier and Type | Method and Description |
---|---|
GraphContainerInfo |
getContainerInfo()
Invoking
GraphContainerProvider.loadGraphContainer() 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 loaded
ImmutableGraphContainer object, containing ALL vertices and edges. |
public SingleGraphContainerProvider(GraphProvider graphProvider, GraphContainerInfo containerInfo)
public ImmutableGraphContainer loadGraphContainer()
GraphContainerProvider
ImmutableGraphContainer
object, containing ALL vertices and edges.
May be slow.loadGraphContainer
in interface GraphContainerProvider
public GraphContainerInfo getContainerInfo()
GraphContainerProvider
GraphContainerProvider.loadGraphContainer()
may take some time, so it is not feasible to invoke it,
if only the meta data of the container is requested.
Therefore the GraphContainerProvider.getContainerInfo()
should return very quickly with the meta data of
the container and its graphs.getContainerInfo
in interface GraphContainerProvider
Copyright © 2021. All rights reserved.