public class FedXRepository extends SailRepository
SailRepository which performs the actions as defined in FedXRepositoryConnection.logger| Constructor and Description | 
|---|
| FedXRepository(FedX federation,
              FedXConfig config) | 
| Modifier and Type | Method and Description | 
|---|---|
| FedXRepositoryConnection | getConnection()Opens a connection to this repository that can be used for querying and updating the contents of the repository. | 
| FederationContext | getFederationContext() | 
| String | getFederationSize()return the number of triples in the federation as string. | 
| QueryManager | getQueryManager() | 
| protected void | initializeInternal() | 
| void | setFederatedServiceResolver(FederatedServiceResolver resolver)Sets the  FederatedServiceResolverto use for this client. | 
| protected void | shutDownInternal() | 
getDataDir, getHttpClient, getHttpClientSessionManager, getSail, getValueFactory, isWritable, setDataDir, setHttpClient, setHttpClientSessionManager, setRepositoryResolver, toStringinit, initialize, isInitialized, shutDownclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSesameClient, setSesameClientpublic FedXRepository(FedX federation, FedXConfig config)
public FedXRepositoryConnection getConnection() throws RepositoryException
Repository
 try (RepositoryConnection conn = repository.getConnection()) {
        // perform operations on the connection
 }
 
 
 Note that RepositoryConnection is not guaranteed to be thread-safe! The recommended pattern for
 repository access in a multi-threaded application is to share the Repository object between threads, but have
 each thread create and use its own RepositoryConnections.getConnection in interface RepositorygetConnection in class SailRepositoryRepositoryException - If something went wrong during the creation of the Connection.protected void initializeInternal()
                           throws RepositoryException
initializeInternal in class SailRepositoryRepositoryExceptionprotected void shutDownInternal()
                         throws RepositoryException
shutDownInternal in class SailRepositoryRepositoryExceptionpublic void setFederatedServiceResolver(FederatedServiceResolver resolver)
FederatedServiceResolverClientFederatedServiceResolver to use for this client.setFederatedServiceResolver in interface FederatedServiceResolverClientsetFederatedServiceResolver in class SailRepositoryresolver - The resolver to use.public String getFederationSize()
EndpointType.NativeStore and EndpointType.RemoteRepository.
 
 If the federation contains other types of endpoints, the size is indicated as a lower bound, i.e. the string
 starts with a larger sign.public FederationContext getFederationContext()
FederationContextpublic QueryManager getQueryManager()
QueryManager from the FederationContextCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.