Class DBResourceService

  • All Implemented Interfaces:
    ResourceService, RetrievalService<Resource>

    @ApplicationScoped
    public class DBResourceService
    extends Object
    implements ResourceService
    A Database-backed implementation of the Trellis ResourceService API.

    Note: one can manipulate the size of a batched query by setting a property for trellis.db.batch-size. By default, this value is 1,000. One can also configure the persistence layer to add the LDP type to the body of an RDF response by setting the environment variable trellis.db.ldp.type to "true". By default, this value is false.