Class ScannableTableTest.SimpleTable

  • All Implemented Interfaces:
    org.apache.calcite.schema.ScannableTable, org.apache.calcite.schema.Table, org.apache.calcite.schema.Wrapper
    Enclosing class:
    ScannableTableTest

    public static class ScannableTableTest.SimpleTable
    extends org.apache.calcite.schema.impl.AbstractTable
    implements org.apache.calcite.schema.ScannableTable
    Table that returns one column via the ScannableTable interface.
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleTable()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.calcite.rel.type.RelDataType getRowType​(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)  
      org.apache.calcite.linq4j.Enumerable<java.lang.Object[]> scan​(org.apache.calcite.DataContext root)  
      • Methods inherited from class org.apache.calcite.schema.impl.AbstractTable

        getJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg, unwrap
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.calcite.schema.Table

        getJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg
    • Constructor Detail

      • SimpleTable

        public SimpleTable()
    • Method Detail

      • getRowType

        public org.apache.calcite.rel.type.RelDataType getRowType​(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
        Specified by:
        getRowType in interface org.apache.calcite.schema.Table
      • scan

        public org.apache.calcite.linq4j.Enumerable<java.lang.Object[]> scan​(org.apache.calcite.DataContext root)
        Specified by:
        scan in interface org.apache.calcite.schema.ScannableTable