tshm
7/9/2014 - 5:34 AM

Is this a command pattern?

Is this a command pattern?

String tableName = “Employee”;

TableOperation findEmployee = TableOperation.retrieve(“HR”, “999″, EmployeeEntity.class);
EmployeeEntity employeeEntity = tableClient.execute(tableName, findEmployee).getResultAsType();

TableOperation deleteEmployee = TableOperation.delete(employeeEntity);
tableClient.execute(tableName, deleteEmployee);