Package edu.caltech.nanodb.commands
Class SetPropertyCommand
- java.lang.Object
-
- edu.caltech.nanodb.commands.Command
-
- edu.caltech.nanodb.commands.SetPropertyCommand
-
public class SetPropertyCommand extends Command
Implements the "SET VARIABLE ..." command.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.caltech.nanodb.commands.Command
Command.Type
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
propertyName
The name of the property to set.private Expression
valueExpr
The value to set the property to.
-
Constructor Summary
Constructors Constructor Description SetPropertyCommand(java.lang.String propertyName, Expression valueExpr)
-
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
-
-
-
-
Field Detail
-
propertyName
private java.lang.String propertyName
The name of the property to set.
-
valueExpr
private Expression valueExpr
The value to set the property to.
-
-
Constructor Detail
-
SetPropertyCommand
public SetPropertyCommand(java.lang.String propertyName, Expression valueExpr)
-
-
Method Detail
-
execute
public void execute(NanoDBServer server)
Description copied from class:Command
Actually performs the command.
-
-