if(command instanceof org.teiid.language.Delete) {
result = new DeleteExecutionImpl(command, connection, metadata, executionContext);
} else if (command instanceof org.teiid.language.Insert) {
result = new InsertExecutionImpl(command, connection, metadata, executionContext);
} else if (command instanceof org.teiid.language.Update) {
result = new UpdateExecutionImpl(command, connection, metadata, executionContext);
}
return result;
}