Interface CalciteMetaTableFactory

All Known Implementing Classes:
CalciteMetaTableFactoryImpl

public interface CalciteMetaTableFactory
Factory for creating instances of MetaImpl.MetaTable.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.calcite.avatica.MetaImpl.MetaTable
    createTable(Table table, String tableCat, String tableSchem, String tableName)
    Instantiates a MetaTable.
    default List<String>
    Returns the list of expected column names.
    Class<? extends org.apache.calcite.avatica.MetaImpl.MetaTable>
    Returns the type of object created.
  • Method Details

    • createTable

      org.apache.calcite.avatica.MetaImpl.MetaTable createTable(Table table, String tableCat, String tableSchem, String tableName)
      Instantiates a MetaTable.
    • getColumnNames

      default List<String> getColumnNames()
      Returns the list of expected column names.

      The default implementation returns the columns described in the JDBC specification.

    • getMetaTableClass

      Class<? extends org.apache.calcite.avatica.MetaImpl.MetaTable> getMetaTableClass()
      Returns the type of object created. Must be a subclass of MetaTable.