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 ImmutableGraphs.
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, getPrimaryGraphInfoList<G> getGraphs()
G getGraph(String namespace)
namespace - the namespace of the graph to getGenericGraphContainer asGenericGraphContainer()
ImmutableGraphContainer to its generic counter part.Copyright © 2022. All rights reserved.