Class RemoveStatementsOperation
java.lang.Object
org.eclipse.rdf4j.http.protocol.transaction.operations.ContextOperation
org.eclipse.rdf4j.http.protocol.transaction.operations.StatementOperation
org.eclipse.rdf4j.http.protocol.transaction.operations.RemoveStatementsOperation
- All Implemented Interfaces:
Serializable
,TransactionOperation
Operation to remove statements matching specific pattern of subject, predicate and object.
- Author:
- Arjohn Kampman, Leo Sauermann
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.http.protocol.transaction.operations.ContextOperation
contexts
-
Constructor Summary
ConstructorDescriptionRemoveStatementsOperation(Resource subj, IRI pred, Value obj, Resource... contexts)
Creates a RemoveStatementsOperation. -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
execute(RepositoryConnection con)
Executes this operation on the supplied connection.Methods inherited from class org.eclipse.rdf4j.http.protocol.transaction.operations.StatementOperation
getObject, getPredicate, getSubject, hashCode, setObject, setPredicate, setSubject
Methods inherited from class org.eclipse.rdf4j.http.protocol.transaction.operations.ContextOperation
getContexts, setContexts
-
Constructor Details
-
RemoveStatementsOperation
Creates a RemoveStatementsOperation.
-
-
Method Details
-
execute
Description copied from interface:TransactionOperation
Executes this operation on the supplied connection.- Specified by:
execute
in interfaceTransactionOperation
- Parameters:
con
- The connection the operation should be performed on.- Throws:
RepositoryException
- If such an exception is thrown by the connection while executing the operation.
-
equals
- Overrides:
equals
in classStatementOperation
-