Class Federation

    • Constructor Detail

      • Federation

        public Federation()
        Deprecated.
    • Method Detail

      • setDataDir

        public void setDataDir​(File dataDir)
        Deprecated.
        Description copied from interface: Sail
        Sets the data directory for the Sail. The Sail can use this directory for storage of data, parameters, etc. This directory must be set before the Sail is initialized.
        Specified by:
        setDataDir in interface Sail
      • getValueFactory

        public ValueFactory getValueFactory()
        Deprecated.
        Description copied from interface: Sail
        Gets a ValueFactory object that can be used to create IRI-, blank node-, literal- and statement objects.
        Specified by:
        getValueFactory in interface Sail
        Returns:
        a ValueFactory object for this Sail object.
      • isWritable

        public boolean isWritable()
                           throws SailException
        Deprecated.
        Description copied from interface: Sail
        Checks whether this Sail object is writable, i.e. if the data contained in this Sail object can be changed.
        Specified by:
        isWritable in interface Sail
        Throws:
        SailException
      • addMember

        public void addMember​(Repository member)
        Deprecated.
      • getMembers

        protected List<Repository> getMembers()
        Deprecated.
        Returns the members of this federation.
        Returns:
        unmodifiable list of federation members.
      • getLocalPropertySpace

        public PrefixHashSet getLocalPropertySpace()
        Deprecated.
        Returns:
        PrefixHashSet or null
      • setLocalPropertySpace

        public void setLocalPropertySpace​(Collection<String> localPropertySpace)
        Deprecated.
      • isDistinct

        public boolean isDistinct()
        Deprecated.
      • setDistinct

        public void setDistinct​(boolean distinct)
        Deprecated.
      • isReadOnly

        public boolean isReadOnly()
        Deprecated.
      • setReadOnly

        public void setReadOnly​(boolean readOnly)
        Deprecated.
      • getFederatedServiceResolver

        public FederatedServiceResolver getFederatedServiceResolver()
        Deprecated.
        Returns:
        Returns the SERVICE resolver.
      • getHttpClient

        public org.apache.http.client.HttpClient getHttpClient()
        Deprecated.
        Description copied from interface: HttpClientDependent
        HttpClient that has been assigned or has been used by this object. The life cycle might not be or might be tied to this object, depending on whether HttpClient was passed to or created by this object respectively.
        Specified by:
        getHttpClient in interface HttpClientDependent
        Returns:
        an HttpClient instance or null
      • setHttpClient

        public void setHttpClient​(org.apache.http.client.HttpClient client)
        Deprecated.
        Description copied from interface: HttpClientDependent
        Assign an HttpClient that this object should use. The life cycle of the given HttpClient is independent of this object. Closing or shutting down this object does not have any impact on the given client. Callers must ensure that the given client is properly closed elsewhere.
        Specified by:
        setHttpClient in interface HttpClientDependent
      • init

        public void init()
                  throws SailException
        Deprecated.
        Description copied from interface: Sail
        Initializes the Sail. Care should be taken that required initialization parameters have been set before this method is called. Please consult the specific Sail implementation for information about the relevant parameters.
        Specified by:
        init in interface Sail
        Throws:
        SailException - If the Sail could not be initialized.
      • shutDown

        public void shutDown()
                      throws SailException
        Deprecated.
        Description copied from interface: Sail
        Shuts down the Sail, giving it the opportunity to synchronize any stale data. Care should be taken that all initialized Sails are being shut down before an application exits to avoid potential loss of data. Once shut down, a Sail can no longer be used until it is re-initialized.
        Specified by:
        shutDown in interface Sail
        Throws:
        SailException - If the Sail object encountered an error or unexpected situation internally.
      • getConnection

        public SailConnection getConnection()
                                     throws SailException
        Deprecated.
        Description copied from interface: Sail
        Opens a connection on the Sail which can be used to query and update data. Depending on how the implementation handles concurrent access, a call to this method might block when there is another open connection on this Sail.
        Specified by:
        getConnection in interface Sail
        Throws:
        SailException - If no transaction could be started, for example because the Sail is not writable.
      • getSupportedIsolationLevels

        public List<IsolationLevel> getSupportedIsolationLevels()
        Deprecated.
        Description copied from interface: Sail
        Retrieve the IsolationLevels supported by this SAIL, ordered by increasing complexity.
        Specified by:
        getSupportedIsolationLevels in interface Sail
        Returns:
        a non-empty List of supported Isolation Levels, in order of increasing complexity. Every SAIL supports at least one IsolationLevel.