Package org.apache.calcite.schema
Interface ModifiableTable
- All Superinterfaces:
QueryableTable
,Table
- All Known Implementing Classes:
AbstractModifiableTable
,JdbcTable
,ListTransientTable
A table that can be modified.
NOTE: The current API is inefficient and experimental. It will change without notice.
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@Nullable Collection
Returns the modifiable collection.toModificationRel
(RelOptCluster cluster, RelOptTable table, Prepare.CatalogReader catalogReader, RelNode child, TableModify.Operation operation, @Nullable List<String> updateColumnList, @Nullable 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
@Nullable 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, @Nullable List<String> updateColumnList, @Nullable List<RexNode> sourceExpressionList, boolean flattened) Creates a relational expression that modifies this table.
-