public interface BulkUpdateHandler
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.
Modifier and Type | Method and Description |
---|---|
void |
add(Graph g)
Deprecated.
See GraphUtil for helper functions for migration.
|
void |
add(Graph g,
boolean withReifications)
Deprecated.
See GraphUtil for helper functions for migration.
|
void |
add(Iterator<Triple> it)
Deprecated.
See GraphUtil for helper functions for migration.
|
void |
add(List<Triple> triples)
Deprecated.
See GraphUtil for helper functions for migration.
|
void |
add(Triple[] triples)
Deprecated.
See GraphUtil for helper functions for migration.
|
void |
delete(Graph g)
Deprecated.
See GraphUtil for helper functions for migration.
|
void |
delete(Graph g,
boolean withReifications)
Deprecated.
See GraphUtil for helper functions for migration.
|
void |
delete(Iterator<Triple> it)
Deprecated.
See GraphUtil for helper functions for migration.
|
void |
delete(List<Triple> triples)
Deprecated.
See GraphUtil for helper functions for migration.
|
void |
delete(Triple[] triples)
Deprecated.
See GraphUtil for helper functions for migration.
|
void |
remove(Node s,
Node p,
Node o)
Deprecated.
Use Graph.remove( Node s, Node p, Node o )
|
void |
removeAll()
Deprecated.
Use Graph.clear()
|
@Deprecated void add(Triple[] triples)
triples
- an array of triples to add@Deprecated void add(List<Triple> triples)
triples
- a list of Triple objects to add@Deprecated void add(Iterator<Triple> it)
it
- an Iterator delivering Triples@Deprecated void add(Graph g, boolean withReifications)
g
- a Graph whose triples are to be addedwithReifications
- if true, the reified triples of g are added as well@Deprecated void add(Graph g)
g
- a Graph whose triples are to be added@Deprecated void delete(Triple[] triples)
triples
- an array of triples to delete@Deprecated void delete(List<Triple> triples)
triples
- a list of triples to delete@Deprecated void delete(Iterator<Triple> it)
it
- an iterator over Triple@Deprecated void delete(Graph g)
g
- a graph whose triples are to be deleted@Deprecated void delete(Graph g, boolean withReifications)
g
- a graph whose triples are to be deletedwithReifications
- if true, delete g's reifications from this graph@Deprecated void removeAll()
@Deprecated void remove(Node s, Node p, Node o)
Licenced under the Apache License, Version 2.0