java.lang.Object
org.apache.jena.sparql.graph.GraphWrapper
org.apache.jena.system.buffering.BufferingGraph
- All Implemented Interfaces:
Graph,BufferingCtl
A graph that buffers changes (including prefixes changes) until
flush() or
flushDirect() is called.-
Field Summary
Fields inherited from interface org.apache.jena.graph.Graph
emptyGraph -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.jena.sparql.graph.GraphWrapper
clear, close, dependsOn, get, getCapabilities, getEventManager, getTransactionHandler, isClosed, isIsomorphicWith, remove
-
Constructor Details
-
BufferingGraph
-
-
Method Details
-
create
-
base
-
flush
public void flush()Flush the changes to the base graph, using a Graph transaction if possible.- Specified by:
flushin interfaceBufferingCtl
-
flushDirect
public void flushDirect()Flush the changes directly to the base graph. -
add
- Specified by:
addin interfaceGraph- Overrides:
addin classGraphWrapper
-
delete
- Specified by:
deletein interfaceGraph- Overrides:
deletein classGraphWrapper
-
getAdded
-
getDeleted
-
contains
- Specified by:
containsin interfaceGraph- Overrides:
containsin classGraphWrapper
-
contains
- Specified by:
containsin interfaceGraph- Overrides:
containsin classGraphWrapper
-
find
- Specified by:
findin interfaceGraph- Overrides:
findin classGraphWrapper
-
find
- Specified by:
findin interfaceGraph- Overrides:
findin classGraphWrapper
-
getPrefixMapping
- Specified by:
getPrefixMappingin interfaceGraph- Overrides:
getPrefixMappingin classGraphWrapper
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceGraph- Overrides:
isEmptyin classGraphWrapper
-
size
public int size()- Specified by:
sizein interfaceGraph- Overrides:
sizein classGraphWrapper
-