Interface CalciteMetaColumnFactory

All Known Implementing Classes:
CalciteMetaColumnFactoryImpl

public interface CalciteMetaColumnFactory
Factory for creating instances of MetaImpl.MetaColumn.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.calcite.avatica.MetaImpl.MetaColumn
    createColumn(Table table, String tableCat, String tableSchem, String tableName, String columnName, int dataType, String typeName, Integer columnSize, @Nullable Integer decimalDigits, int numPrecRadix, int nullable, Integer charOctetLength, int ordinalPosition, String isNullable)
    Instantiates a MetaColumn.
    default List<String>
    Returns the list of expected column names.
    Class<? extends org.apache.calcite.avatica.MetaImpl.MetaColumn>
    Returns the type of object created.
  • Method Details

    • createColumn

      org.apache.calcite.avatica.MetaImpl.MetaColumn createColumn(Table table, String tableCat, String tableSchem, String tableName, String columnName, int dataType, String typeName, Integer columnSize, @Nullable Integer decimalDigits, int numPrecRadix, int nullable, Integer charOctetLength, int ordinalPosition, String isNullable)
      Instantiates a MetaColumn.
    • getColumnNames

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

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

    • getMetaColumnClass

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