Class: RepositoryService

RepositoryService()

Service for working repositories.

Constructor

new RepositoryService()

Author:
  • Mihail Radkov
  • Svilen Velikov
Source:

Methods

getServiceName()

Source:

getSize(contextopt) → {ServiceRequest}

Retrieves the size of the repository.

Effectively returns how much statements are in the repository.

If one or multiple context are provided, the operation will be restricted upon each of them.

Parameters:
Name Type Attributes Description
context string | Array.<string> <optional>

context or contexts to restrict the size calculation. Will be encoded as N-Triple if it is not already one

Source:
Returns:

a service request resolving to the total number of statements in the repository

Type
ServiceRequest