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 GraphContainerInfo
getContainerInfo()
InvokingGraphContainerProvider.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 loadedImmutableGraphContainer
object, containing ALL vertices and edges.
-
-
-
Constructor Detail
-
GraphmlGraphContainerProvider
public GraphmlGraphContainerProvider(String location) throws IOException, InvalidGraphException
- Throws:
IOException
InvalidGraphException
-
-
Method Detail
-
loadGraphContainer
public ImmutableGraphContainer loadGraphContainer()
Description copied from interface:GraphContainerProvider
Returns a fully loadedImmutableGraphContainer
object, containing ALL vertices and edges. May be slow.- Specified by:
loadGraphContainer
in interfaceGraphContainerProvider
- Returns:
- The populated container
-
getContainerInfo
public GraphContainerInfo getContainerInfo()
Description copied from interface:GraphContainerProvider
InvokingGraphContainerProvider.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:
getContainerInfo
in interfaceGraphContainerProvider
- Returns:
- The container's meta data
-
-