Class SqlToRelTestBase.DelegatingRelOptTable

  • All Implemented Interfaces:
    org.apache.calcite.plan.RelOptTable, org.apache.calcite.schema.Wrapper
    Enclosing class:
    SqlToRelTestBase

    private static class SqlToRelTestBase.DelegatingRelOptTable
    extends java.lang.Object
    implements org.apache.calcite.plan.RelOptTable
    Table that delegates to a given table.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.calcite.plan.RelOptTable

        org.apache.calcite.plan.RelOptTable.ToRelContext, org.apache.calcite.plan.RelOptTable.ViewExpander
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.calcite.plan.RelOptTable parent  
    • Constructor Summary

      Constructors 
      Constructor Description
      DelegatingRelOptTable​(org.apache.calcite.plan.RelOptTable parent)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.calcite.plan.RelOptTable extend​(java.util.List<org.apache.calcite.rel.type.RelDataTypeField> extendedFields)  
      java.util.List<org.apache.calcite.rel.RelCollation> getCollationList()  
      java.util.List<org.apache.calcite.schema.ColumnStrategy> getColumnStrategies()  
      org.apache.calcite.rel.RelDistribution getDistribution()  
      org.apache.calcite.linq4j.tree.Expression getExpression​(java.lang.Class clazz)  
      java.util.List<java.lang.String> getQualifiedName()  
      java.util.List<org.apache.calcite.rel.RelReferentialConstraint> getReferentialConstraints()  
      org.apache.calcite.plan.RelOptSchema getRelOptSchema()  
      double getRowCount()  
      org.apache.calcite.rel.type.RelDataType getRowType()  
      boolean isKey​(org.apache.calcite.util.ImmutableBitSet columns)  
      org.apache.calcite.rel.RelNode toRel​(org.apache.calcite.plan.RelOptTable.ToRelContext context)  
      <T> T unwrap​(java.lang.Class<T> clazz)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • parent

        private final org.apache.calcite.plan.RelOptTable parent
    • Constructor Detail

      • DelegatingRelOptTable

        DelegatingRelOptTable​(org.apache.calcite.plan.RelOptTable parent)
    • Method Detail

      • unwrap

        public <T> T unwrap​(java.lang.Class<T> clazz)
        Specified by:
        unwrap in interface org.apache.calcite.schema.Wrapper
      • getExpression

        public org.apache.calcite.linq4j.tree.Expression getExpression​(java.lang.Class clazz)
        Specified by:
        getExpression in interface org.apache.calcite.plan.RelOptTable
      • extend

        public org.apache.calcite.plan.RelOptTable extend​(java.util.List<org.apache.calcite.rel.type.RelDataTypeField> extendedFields)
        Specified by:
        extend in interface org.apache.calcite.plan.RelOptTable
      • getQualifiedName

        public java.util.List<java.lang.String> getQualifiedName()
        Specified by:
        getQualifiedName in interface org.apache.calcite.plan.RelOptTable
      • getRowCount

        public double getRowCount()
        Specified by:
        getRowCount in interface org.apache.calcite.plan.RelOptTable
      • getRowType

        public org.apache.calcite.rel.type.RelDataType getRowType()
        Specified by:
        getRowType in interface org.apache.calcite.plan.RelOptTable
      • getRelOptSchema

        public org.apache.calcite.plan.RelOptSchema getRelOptSchema()
        Specified by:
        getRelOptSchema in interface org.apache.calcite.plan.RelOptTable
      • toRel

        public org.apache.calcite.rel.RelNode toRel​(org.apache.calcite.plan.RelOptTable.ToRelContext context)
        Specified by:
        toRel in interface org.apache.calcite.plan.RelOptTable
      • getCollationList

        public java.util.List<org.apache.calcite.rel.RelCollation> getCollationList()
        Specified by:
        getCollationList in interface org.apache.calcite.plan.RelOptTable
      • getDistribution

        public org.apache.calcite.rel.RelDistribution getDistribution()
        Specified by:
        getDistribution in interface org.apache.calcite.plan.RelOptTable
      • isKey

        public boolean isKey​(org.apache.calcite.util.ImmutableBitSet columns)
        Specified by:
        isKey in interface org.apache.calcite.plan.RelOptTable
      • getReferentialConstraints

        public java.util.List<org.apache.calcite.rel.RelReferentialConstraint> getReferentialConstraints()
        Specified by:
        getReferentialConstraints in interface org.apache.calcite.plan.RelOptTable
      • getColumnStrategies

        public java.util.List<org.apache.calcite.schema.ColumnStrategy> getColumnStrategies()
        Specified by:
        getColumnStrategies in interface org.apache.calcite.plan.RelOptTable