Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support different content types when deleting data via a transaction #49

Open
mihailradkov opened this issue Jul 4, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mihailradkov
Copy link
Contributor

The RDF4J REST API specifies different syntax for deleting statements in a transaction.
See https://rdf4j.eclipse.org/documentation/rest-api/#the-delete-operation

Because of this, TransactionalRepositoryClient was made to receive only Turtle or TriG encoded data for the DELETE transaction operation.

Planned steps:

  • Add DeleteStatementsPayload class
  • Add delete() method in RDFRepositoryClient that accepts the new DeleteStatementsPayload
  • Add delete() and deleteStatement() in TransactionalRepositoryClient with custom logic that maps the data from DeleteStatementsPayload to appropriate triples according to the specification.

The goal is to make both clients with same API methods and hide the custom logic in TransactionalRepositoryClient.

@mihailradkov mihailradkov added the enhancement New feature or request label Jul 4, 2019
@mihailradkov mihailradkov added this to the 1.2.0 milestone Jul 4, 2019
@mihailradkov mihailradkov self-assigned this Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant