Github user rvesse commented on a diff in the pull request:
https://github.com/apache/jena/pull/501#discussion_r237831448
--- Diff: jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java ---
@@ -171,7 +171,10 @@ protected final int graphBaseSize() {
@Override
public void clear() {
- getDatasetGraphTDB().deleteAny(getGraphName(), Node.ANY, Node.ANY,
Node.ANY) ;
+ // Logically, this is "super.clear()" except the default
implementation
+ // is a loop that materializes nodes. We want to call the dataset
directly
+ // so that nodes don't get materialized, just deleted from indexes.
--- End diff --
Loaded from the node table into nodes in the cache I think?
---