Package org.apache.calcite.schema
Interface ModifiableTable
-
- All Superinterfaces:
QueryableTable
,Table
- All Known Implementing Classes:
JdbcTable
,SqlCreateMaterializedView.MaterializedViewTable
,SqlCreateTable.AbstractModifiableTable
,SqlCreateTable.MutableArrayTable
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection
getModifiableCollection()
Returns the modifiable collection.TableModify
toModificationRel(RelOptCluster cluster, RelOptTable table, Prepare.CatalogReader catalogReader, RelNode child, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.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 Detail
-
getModifiableCollection
java.util.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, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
Creates a relational expression that modifies this table.
-
-