jexp / batch-import

generic csv file neo4j batch importer
https://neo4j.com/docs/operations-manual/current/tools/import/
385 stars 158 forks source link

common interface for BatchInserter and GraphDatabaseService? #120

Open ehx-v1 opened 8 years ago

ehx-v1 commented 8 years ago

I think as they both have the shutdown() method, there might be a common interface defining shutdown() that would make some support code I'm making fairly more general, because I have a class wrapping BatchInserters (so far) which is an AutoCloseable and calls shutdown() in its close(), thus mediating between BatchInserters and try-with-resource it would be really nice if that could be generalized to the interface providing shutdown() if there is such