Class TableModify

All Implemented Interfaces:
Cloneable, RelOptNode, RelNode
Direct Known Subclasses:
EnumerableTableModify, JdbcRules.JdbcTableModify, LogicalTableModify

public abstract class TableModify
extends SingleRel
Relational expression that modifies a table.

It is similar to TableScan, but represents a request to modify a table rather than read from it. It takes one child which produces the modified rows. Those rows are:

  • For INSERT, those rows are the new values;
  • for DELETE, the old values;
  • for UPDATE, all old values plus updated new values.