Package org.apache.calcite.test.catalog
Class MockCatalogReader.MockViewTable.ModifiableView
- java.lang.Object
-
- org.apache.calcite.schema.impl.AbstractTable
-
- org.apache.calcite.test.JdbcTest.AbstractModifiableView
-
- org.apache.calcite.test.catalog.MockCatalogReader.MockViewTable.ModifiableView
-
- All Implemented Interfaces:
org.apache.calcite.schema.ModifiableView
,org.apache.calcite.schema.Table
,org.apache.calcite.schema.Wrapper
- Direct Known Subclasses:
MockCatalogReader.MockViewTable.ModifiableViewWithCustomColumnResolving
- Enclosing class:
- MockCatalogReader.MockViewTable
private class MockCatalogReader.MockViewTable.ModifiableView extends JdbcTest.AbstractModifiableView implements org.apache.calcite.schema.Wrapper
Implementation of AbstractModifiableView.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ModifiableView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.calcite.util.ImmutableIntList
getColumnMapping()
org.apache.calcite.rex.RexNode
getConstraint(org.apache.calcite.rex.RexBuilder rexBuilder, org.apache.calcite.rel.type.RelDataType tableRowType)
org.apache.calcite.rel.type.RelDataType
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
org.apache.calcite.schema.Table
getTable()
org.apache.calcite.schema.Path
getTablePath()
<C> C
unwrap(java.lang.Class<C> aClass)
-
Methods inherited from class org.apache.calcite.schema.impl.AbstractTable
getJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg
-
-
-
-
Method Detail
-
getTable
public org.apache.calcite.schema.Table getTable()
- Specified by:
getTable
in interfaceorg.apache.calcite.schema.ModifiableView
-
getTablePath
public org.apache.calcite.schema.Path getTablePath()
- Specified by:
getTablePath
in interfaceorg.apache.calcite.schema.ModifiableView
-
getColumnMapping
public org.apache.calcite.util.ImmutableIntList getColumnMapping()
- Specified by:
getColumnMapping
in interfaceorg.apache.calcite.schema.ModifiableView
-
getConstraint
public org.apache.calcite.rex.RexNode getConstraint(org.apache.calcite.rex.RexBuilder rexBuilder, org.apache.calcite.rel.type.RelDataType tableRowType)
- Specified by:
getConstraint
in interfaceorg.apache.calcite.schema.ModifiableView
-
getRowType
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
- Specified by:
getRowType
in interfaceorg.apache.calcite.schema.Table
-
unwrap
public <C> C unwrap(java.lang.Class<C> aClass)
- Specified by:
unwrap
in interfaceorg.apache.calcite.schema.Wrapper
- Overrides:
unwrap
in classorg.apache.calcite.schema.impl.AbstractTable
-
-