public interface ImmutableGraphContainer<G extends ImmutableGraph<? extends Vertex,? extends Edge>> extends GraphContainerInfo
ImmutableGraphContainer
was born.
Its purpose is similar to the GraphML definition:
A ImmutableGraphContainer
can hold multiple ImmutableGraph
s.
It can also just return a ImmutableGraph
for a given namespace.
Be aware, that a GraphContainer should always be fully populated (not enriched) when loaded by a provider.Modifier and Type | Method and Description |
---|---|
GenericGraphContainer |
asGenericGraphContainer()
Converts the
ImmutableGraphContainer to its generic counter part. |
G |
getGraph(String namespace)
Returns the graph with the requested namespace, or null if it does not exist.
|
List<G> |
getGraphs()
Returns the list of graphs provided by the container.
|
getDescription, getGraphInfo, getGraphInfos, getId, getLabel, getNamespaces, getPrimaryGraphInfo
List<G> getGraphs()
G getGraph(String namespace)
namespace
- the namespace of the graph to getGenericGraphContainer asGenericGraphContainer()
ImmutableGraphContainer
to its generic counter part.Copyright © 2021. All rights reserved.