public interface TcProvider
ImmutableGraphs and Graphs (mutable graphs)| Modifier and Type | Method and Description | 
|---|---|
| Graph | createGraph(IRI name)Creates an initially empty  Graphwith a specified name | 
| ImmutableGraph | createImmutableGraph(IRI name,
                    Graph triples)Creates a  ImmutableGraphwith a specified name | 
| void | deleteGraph(IRI name)Deletes the  ImmutableGraphorGraphof a specified name. | 
| Graph | getGraph(IRI name)This method is used to get a  Graphindifferently
 whether it's a ImmutableGraph or not. | 
| ImmutableGraph | getImmutableGraph(IRI name)Get a  ImmutableGraphby its name | 
| Graph | getMGraph(IRI name)Get an  Graphtaht is notImmutableGrah. | 
| Set<IRI> | getNames(ImmutableGraph immutableGraph)get a set of the names of a  ImmutableGraph | 
| Set<IRI> | listGraphs()Lists the name of the  Graphs available through thisTcProviderindifferently whether they are mutables or
 immutables, implementations may take into account the security context and
 omitGraphs for which access is not allowed. | 
| Set<IRI> | listImmutableGraphs()Lists the name of the  ImmutableGraphs available through thisTcProvider, implementations may take into account the
 security context and omitImmutableGraphs for which access is not
 allowed. | 
| Set<IRI> | listMGraphs()Lists the name of the  Graphs available through thisTcProviderthat are notImmutableGraph, implementations may take into account the
 security context and omitGraphs for which access is not
 allowed. | 
ImmutableGraph getImmutableGraph(IRI name) throws NoSuchEntityException
ImmutableGraph by its namename - the name of the ImmutableGraphImmutableGraph with the specified nameNoSuchEntityException - if there is no ImmutableGraph
         with the specified nameGraph getMGraph(IRI name) throws NoSuchEntityException
Graph taht is not ImmutableGrah. The instances
 returned in different invocations are equals.name - the name of the GraphGraph with the specified nameNoSuchEntityException - if there is no Graph
         with the specified nameGraph getGraph(IRI name) throws NoSuchEntityException
Graph indifferently
 whether it's a ImmutableGraph or not. If the name names an
 Graph the result is the same as when invoking
 getMGraph with that argument, analogously for
 ImmutableGraphS the method returns an instance equals to what
 getImmutableGraph would return.name - the name of the ImmutableGraph or GraphImmutableGraph or GraphNoSuchEntityException - if there is no ImmutableGraph
         or Graph with the specified nameSet<IRI> listImmutableGraphs()
ImmutableGraphs available through this
 TcProvider, implementations may take into account the
 security context and omit ImmutableGraphs for which access is not
 allowed.ImmutableGraphsSet<IRI> listMGraphs()
Graphs available through this
 TcProvider that are not ImmutableGraph, implementations may take into account the
 security context and omit Graphs for which access is not
 allowed.GraphsSet<IRI> listGraphs()
Graphs available through this
 TcProvider indifferently whether they are mutables or
 immutables, implementations may take into account the security context and
 omit Graphs for which access is not allowed.GraphsGraph createGraph(IRI name) throws UnsupportedOperationException, EntityAlreadyExistsException
Graph with a specified namename - names the new GraphGraphUnsupportedOperationException - if this provider doesn't support
         creating GraphSEntityAlreadyExistsException - if an Graph with the specified name
         already existsImmutableGraph createImmutableGraph(IRI name, Graph triples) throws UnsupportedOperationException, EntityAlreadyExistsException
ImmutableGraph with a specified namename - the name of the ImmutableGraph to be createdtriples - the triples of the new ImmutableGraphImmutableGraphUnsupportedOperationException - if this provider doesn't support
         creating ImmutableGraphSEntityAlreadyExistsException - if a ImmutableGraph with the specified name
         already existsvoid deleteGraph(IRI name) throws UnsupportedOperationException, NoSuchEntityException, EntityUndeletableException
ImmutableGraph or Graph of a specified name.
 If name references a ImmutableGraph and the ImmutableGraph has other names, it
 will still be available with those other names.name - the entity to be removedUnsupportedOperationException - if this provider doesn't support
         entities deletion.NoSuchEntityException - if name doesn't refer to a
           ImmutableGraph or an Graph.EntityUndeletableException - if the specified ImmutableGraph is undeletableSet<IRI> getNames(ImmutableGraph immutableGraph)
ImmutableGraphimmutableGraph - ImmutableGraph, the set is empty if
         ImmutableGraph is unknownCopyright © 2015–2022 The Apache Software Foundation. All rights reserved.