public interface Endpoint
Repository type, location.
 
 
 The Repository to use can be obtained by calling getRepository()
 
 A RepositoryConnection for interacting with the store can be obtained using getConnection(). Note
 that typically the TripleSource of the endpoint should be used.
 
ManagedRepositoryEndpoint, 
RepositoryEndpoint, 
ResolvableEndpoint| Modifier and Type | Method and Description | 
|---|---|
| RepositoryConnection | getConnection()Return a  RepositoryConnectionfor theRepositoryrepresented by this endpoint. | 
| String | getEndpoint()Get the endpoint location, e.g. | 
| EndpointClassification | getEndpointClassification() | 
| EndpointConfiguration | getEndpointConfiguration()Additional endpoint specific configuration. | 
| String | getId() | 
| String | getName() | 
| Repository | getRepository() | 
| TripleSource | getTripleSource() | 
| void | init(FederationContext federationContext)Initialize this  Endpoint | 
| boolean | isInitialized() | 
| boolean | isWritable() | 
| void | shutDown()Shutdown this  Endpoint | 
| long | size()Returns the size of the given repository, i.e. | 
Repository getRepository()
RepositoryRepositoryConnection getConnection()
RepositoryConnection for the Repository represented by this endpoint.
 Callers of this method need to ensure to close the connection after use.
Typical pattern:
 try (RepositoryConnection conn = endpoint.getConnection()) {
        // do something with the connection
 }
 
 
 
 If the RepositoryConnection needs to stay open outside the scope of a method (e.g. for streaming
 results), consider using CloseDependentConnectionIteration.
 
RepositoryException - if the repository is not initializedTripleSource getTripleSource()
TripleSourceEndpointClassification getEndpointClassification()
EndpointClassificationboolean isWritable()
String getId()
String getName()
String getEndpoint()
long size() throws RepositoryException
RepositoryExceptionvoid init(FederationContext federationContext) throws RepositoryException
EndpointfederationContext - RepositoryExceptionvoid shutDown()
       throws RepositoryException
EndpointRepositoryExceptionboolean isInitialized()
EndpointConfiguration getEndpointConfiguration()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.