Class RepositoryFederatedService

java.lang.Object
org.eclipse.rdf4j.repository.sparql.federation.RepositoryFederatedService
All Implemented Interfaces:
FederatedService
Direct Known Subclasses:
RepositoryFederatedService, SPARQLFederatedService

public class RepositoryFederatedService extends Object implements FederatedService
Federated Service wrapping the Repository to communicate with a SPARQL endpoint.
  • Field Details

    • ROW_IDX_VAR

      private static final String ROW_IDX_VAR
      See Also:
    • logger

      static final org.slf4j.Logger logger
    • rep

      private final Repository rep
    • boundJoinBlockSize

      protected int boundJoinBlockSize
      The number of bindings sent in a single subquery in evaluate(Service, CloseableIteration, String) If blockSize is set to 0, the entire input stream is used as block input the block size effectively determines the number of remote requests
    • useFreshConnection

      private boolean useFreshConnection
      Whether to use a fresh repository connection for individual queries
    • shutDown

      protected boolean shutDown
    • managedConn

      private RepositoryConnection managedConn
  • Constructor Details

    • RepositoryFederatedService

      public RepositoryFederatedService(Repository repo)
      Parameters:
      repo - the repository to be used
    • RepositoryFederatedService

      public RepositoryFederatedService(Repository repo, boolean shutDown)
      Parameters:
      repo - the repository to be used
      shutDown - a flag indicating whether the repository shall be closed in shutdown()
  • Method Details