Interface GraphProvider
-
- All Known Implementing Classes:
ApplicationGraphProvider,BusinessServiceGraphProvider,LegacyGraphProvider
public interface GraphProviderConvenient interface if aGraphContainerProvideronly provides a single graph. Internally aGraphProviderwill be converted to aGraphContainerProviderwhich provides a single graph.- Author:
- mvrueden
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GraphInfogetGraphInfo()TheGraphInfoshould be used to provide details of the graph's nature, e.g.ImmutableGraph<?,?>loadGraph()Loads the graph, thisGraphProviderhandles.
-
-
-
Method Detail
-
loadGraph
ImmutableGraph<?,?> loadGraph()
Loads the graph, thisGraphProviderhandles. Loading may be performed very quickly, but also may take some time.- Returns:
- The populated graph.
-
getGraphInfo
GraphInfo getGraphInfo()
TheGraphInfoshould be used to provide details of the graph's nature, e.g. the namespace, label or description AImmutableGraphshould also embed this information. The difference is, that the info should always be available, even if the graph is not yet loaded, and should also never change during the provider's live time, whereas the graph itself may change (e.g. different vertices/edges and properties (besides the ones defining the info)).- Returns:
- the meta information of the graph
-
-