Package org.apache.calcite.schema
Interface ModifiableTable
- All Superinterfaces:
QueryableTable
,Table
- All Known Implementing Classes:
JdbcTable
,ListTransientTable
public interface ModifiableTable extends QueryableTable
A table that can be modified.
NOTE: The current API is inefficient and experimental. It will change without notice.
- See Also:
ModifiableView
-
Method Summary
Modifier and Type Method Description Collection
getModifiableCollection()
Returns the modifiable collection.TableModify
toModificationRel(RelOptCluster cluster, RelOptTable table, Prepare.CatalogReader catalogReader, RelNode child, TableModify.Operation operation, List<String> updateColumnList, List<RexNode> sourceExpressionList, boolean flattened)
Creates a relational expression that modifies this table.Methods inherited from interface org.apache.calcite.schema.QueryableTable
asQueryable, getElementType, getExpression
Methods inherited from interface org.apache.calcite.schema.Table
getJdbcTableType, getRowType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg
-
Method Details
-
getModifiableCollection
Collection getModifiableCollection()Returns the modifiable collection. Modifying the collection will change the table's contents. -
toModificationRel
TableModify toModificationRel(RelOptCluster cluster, RelOptTable table, Prepare.CatalogReader catalogReader, RelNode child, TableModify.Operation operation, List<String> updateColumnList, List<RexNode> sourceExpressionList, boolean flattened)Creates a relational expression that modifies this table.
-