Class GraphmlGraphContainerProvider
- java.lang.Object
-
- org.opennms.netmgt.graph.provider.graphml.GraphmlGraphContainerProvider
-
- All Implemented Interfaces:
GraphContainerProvider
public class GraphmlGraphContainerProvider extends Object implements GraphContainerProvider
-
-
Constructor Summary
Constructors Constructor Description GraphmlGraphContainerProvider(String location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphContainerInfogetContainerInfo()InvokingGraphContainerProvider.loadGraphContainer()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.
-
-
-
Constructor Detail
-
GraphmlGraphContainerProvider
public GraphmlGraphContainerProvider(String location) throws IOException, InvalidGraphException
- Throws:
IOExceptionInvalidGraphException
-
-
Method Detail
-
loadGraphContainer
public ImmutableGraphContainer loadGraphContainer()
Description copied from interface:GraphContainerProviderReturns a fully loadedImmutableGraphContainerobject, containing ALL vertices and edges. May be slow.- Specified by:
loadGraphContainerin interfaceGraphContainerProvider- Returns:
- The populated container
-
getContainerInfo
public GraphContainerInfo getContainerInfo()
Description copied from interface:GraphContainerProviderInvokingGraphContainerProvider.loadGraphContainer()may take some time, so it is not feasible to invoke it, if only the meta data of the container is requested. Therefore theGraphContainerProvider.getContainerInfo()should return very quickly with the meta data of the container and its graphs.- Specified by:
getContainerInfoin interfaceGraphContainerProvider- Returns:
- The container's meta data
-
-