|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines how bulk update may be done on Graphs.
Bulk updates are not necessarily transactions; that is, a bulk update may fail part-way through, leaving some but not all triples added or deleted. However, if a bulk update does not fail (ie throw an exception) then the addition or removal of triples must have been successfully completed in accordance with the operation of the owning graph.
| Method Summary | |
void |
add(Graph g)
Add all the triples of the given graph into the graph this is handler for. |
void |
add(java.util.Iterator it)
Add all the elements from the iterator into the graph this is handler for. |
void |
add(java.util.List triples)
Add all the triples in the list into the graph this is handler for. |
void |
add(Triple[] triples)
Add all the triples into the graph this is handler for. |
void |
delete(Graph g)
Remove all the triples of the given graph from the graph this is handler for. |
void |
delete(java.util.Iterator it)
Remove all the triples in the iterator from the graph this is handler for. |
void |
delete(java.util.List triples)
Remove all the triples in the list from the graph this is handler for. |
void |
delete(Triple[] triples)
Remove all the triples from the graph this is handler for. |
| Method Detail |
public void add(Triple[] triples)
triples - an array of triples to addpublic void add(java.util.List triples)
triples - a list of Triple objects to addpublic void add(java.util.Iterator it)
it - an Iterator delivering Triplespublic void add(Graph g)
g - a Graph whose triples are to be addedpublic void delete(Triple[] triples)
triples - an array of triples to removepublic void delete(java.util.List triples)
triples - a list of triples to removepublic void delete(java.util.Iterator it)
it - an iterator over Triplepublic void delete(Graph g)
g - a graph whose triples are to be removed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||