On 04/09/12 10:21, Andy Seaborne wrote:
On 04/09/12 08:30, Dave Reynolds wrote:
On 03/09/12 18:33, Andy Seaborne wrote:
As part of wanting to tidy up and reduce the "core" of Jena, I'd like to
propose we

   Remove BulkUpdateHandler interface
     Migrate it's few useful operation to Graph.

   Start to provide reification with "standard" only.
     graph.QueryHandler only used to support reification.

Seems reasonable. I've used BulkUpdateHandler in client code on the
assumption that a store *might* optimize the updates but at least some
of those cases are, or could be made, add(Graph) calls.

Presumably this would this be a normal deprecate-then-remove-later cycle?

The Model operations remain -

Model.add(Statement[])
Model.add(StmtIterator iter)
Model.add(List<Statement> statements)

We could also consider simplification at the Model level- that wasn't on
my list.

It's interesting if you're using Graph level in an application - I'd
like to promote the Graph "SPI" as a more formally API after the
cleaning up.

Is that code still in use?

I thought it was but having now checked then no, none of my currently in-use projects use BulkUpdateHandler directly.

At the SPI level (Graph API), there is less of a contract on migration.

Agreed. I'm fine with going ahead with the change.

The reasoner does use the bulk update handler - but that's in-codebase
so that will just be cleaned up as part of the change.

Sure.

Dave

Reply via email to