Class PdiDataServiceDialect

java.lang.Object
mondrian.spi.impl.JdbcDialectImpl
mondrian.spi.impl.PdiDataServiceDialect
All Implemented Interfaces:
Dialect

public class PdiDataServiceDialect extends JdbcDialectImpl
  • Field Details

  • Constructor Details

    • PdiDataServiceDialect

      public PdiDataServiceDialect(Connection connection) throws SQLException
      Throws:
      SQLException
    • PdiDataServiceDialect

      public PdiDataServiceDialect()
  • Method Details

    • getType

      public SqlStatement.Type getType(ResultSetMetaData metaData, int columnIndex) throws SQLException
      Description copied from interface: Dialect

      Chooses the most appropriate type for accessing the values of a column in a result set for a dialect.

      Dialect-specific nuances involving type representation should be encapsulated in implementing methods. For example, if a dialect has implicit rules involving scale or precision, they should be handled within this method so the client can simply retrieve the "best fit" SqlStatement.Type for the column.

      Specified by:
      getType in interface Dialect
      Overrides:
      getType in class JdbcDialectImpl
      Parameters:
      metaData - Results set metadata
      columnIndex - Column ordinal (0-based)
      Returns:
      the most appropriate SqlStatement.Type for the column
      Throws:
      SQLException