use of org.teiid.language.Delete in project teiid by teiid.
the class AccumuloUpdateExecution method execute.
@Override
public void execute() throws TranslatorException {
try {
if (this.command instanceof Insert) {
Insert insert = (Insert) this.command;
performInsert(insert);
} else if (this.command instanceof Update) {
Update update = (Update) this.command;
performUpdate(update);
} else if (this.command instanceof Delete) {
Delete delete = (Delete) this.command;
performDelete(delete);
}
} catch (MutationsRejectedException e) {
throw new TranslatorException(e);
} catch (TableNotFoundException e) {
throw new TranslatorException(e);
}
}
Aggregations