org.openrdf.http.protocol.transaction.operations
Class ClearOperation
java.lang.Object
org.openrdf.http.protocol.transaction.operations.ContextOperation
org.openrdf.http.protocol.transaction.operations.ClearOperation
- All Implemented Interfaces:
- TransactionOperation
public class ClearOperation
- extends ContextOperation
Operation that clears the whole repository.
- Author:
- Arjohn Kampman
ClearOperation
public ClearOperation(Resource... contexts)
execute
public void execute(RepositoryConnection con)
throws RepositoryException
- Description copied from interface:
TransactionOperation
- Executes this operation on the supplied connection.
- 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
public boolean equals(Object other)
- Overrides:
equals in class ContextOperation
Copyright © 2001-2008 Aduna. All Rights Reserved.