Should throw a NotImplementedHttpError if the DataAccessor does not support storing the given Representation.
Deletes the resource and its corresponding metadata.
Solid, ยง5.4: "When a contained resource is deleted, the server MUST also remove the corresponding containment triple, which has the effect of removing the deleted resource from the containing container." https://solid.github.io/specification/protocol#deleting-resources
Returns a data stream stored for the given identifier. It can be assumed that the incoming identifier will always correspond to a document.
Returns the metadata corresponding to the identifier.
Writes metadata for a container. If the container does not exist yet it should be created, if it does its metadata should be overwritten, except for the containment triples.
Writes data and metadata for a document. If any data and/or metadata exist for the given identifier, it should be overwritten.
A DataAccessor is the building block closest to the actual data storage. It should not worry about most Solid logic, most of that will be handled before it is called. There are a few things it still needs to do, and it is very important every implementation does this: