public interface WriteStrategy
WriteStrategy that is used for writing data to the federation. The implementation can
 decided upon how is data written to the underlying federation members (e.g. to a designated federation member)
 
 Note: this is an experimental feature which is subject to change in a future version.
RepositoryWriteStrategy, 
ReadOnlyWriteStrategy| Modifier and Type | Method and Description | 
|---|---|
| void | addStatement(Resource subj,
            IRI pred,
            Value obj,
            Resource... contexts)Add a statement | 
| void | begin()Begin a transaction. | 
| void | close()Close this write strategy (e.g. | 
| void | commit()Commit a transaction. | 
| void | initialize()Initialize the write strategy (e.g. | 
| boolean | isInitialized()Returns true if this instance is initialized | 
| void | removeStatement(Resource subj,
               IRI pred,
               Value obj,
               Resource... contexts)Remove a statement | 
| void | rollback()Rollback a transaction. | 
void initialize()
         throws RepositoryException
RepositoryConnection.RepositoryExceptionboolean isInitialized()
void close()
    throws RepositoryException
RepositoryException).RepositoryExceptionvoid begin()
    throws RepositoryException
RepositoryExceptionvoid commit()
     throws RepositoryException
RepositoryExceptionvoid rollback()
       throws RepositoryException
RepositoryExceptionvoid addStatement(Resource subj, IRI pred, Value obj, Resource... contexts) throws RepositoryException
subj - pred - obj - contexts - RepositoryExceptionvoid removeStatement(Resource subj, IRI pred, Value obj, Resource... contexts) throws RepositoryException
subj - pred - obj - contexts - RepositoryExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.