Package edu.caltech.nanodb.commands
Class CommitTransactionCommand
- java.lang.Object
-
- edu.caltech.nanodb.commands.Command
-
- edu.caltech.nanodb.commands.CommitTransactionCommand
-
public class CommitTransactionCommand extends Command
This class represents a command that commits a transaction, such as COMMIT or COMMIT WORK.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.caltech.nanodb.commands.Command
Command.Type
-
-
Constructor Summary
Constructors Constructor Description CommitTransactionCommand()
-
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
-
-