Package edu.caltech.nanodb.commands
Class RollbackTransactionCommand
- java.lang.Object
-
- edu.caltech.nanodb.commands.Command
-
- edu.caltech.nanodb.commands.RollbackTransactionCommand
-
public class RollbackTransactionCommand extends Command
This class represents a command that rolls back a transaction, such as ROLLBACK or ROLLBACK WORK.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.caltech.nanodb.commands.Command
Command.Type
-
-
Constructor Summary
Constructors Constructor Description RollbackTransactionCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(NanoDBServer server)
Actually performs the command.-
Methods inherited from class edu.caltech.nanodb.commands.Command
getCommandType
-
-
-
-
Method Detail
-
execute
public void execute(NanoDBServer server) throws ExecutionException
Description copied from class:Command
Actually performs the command.- Specified by:
execute
in classCommand
- Throws:
ExecutionException
- if an issue occurs during command execution
-
-