Class PentahoSystemDatabaseDialectProvider

  • All Implemented Interfaces:
    org.pentaho.database.IDatabaseDialectProvider

    public class PentahoSystemDatabaseDialectProvider
    extends Object
    implements org.pentaho.database.IDatabaseDialectProvider
    Created by bryan on 5/6/16.
    • Constructor Detail

      • PentahoSystemDatabaseDialectProvider

        public PentahoSystemDatabaseDialectProvider()
      • PentahoSystemDatabaseDialectProvider

        public PentahoSystemDatabaseDialectProvider​(Function<Class<org.pentaho.database.IDatabaseDialect>,​List<org.pentaho.database.IDatabaseDialect>> dialectGetter)
    • Method Detail

      • getDialects

        public Collection<org.pentaho.database.IDatabaseDialect> getDialects​(boolean usableOnly)
        Returns collection of database dialects registered to the Hitachi Vantara System.
        Specified by:
        getDialects in interface org.pentaho.database.IDatabaseDialectProvider
        Parameters:
        usableOnly -
        Returns:
        dialects collection
      • getDialect

        public org.pentaho.database.IDatabaseDialect getDialect​(boolean usableOnly,
                                                                org.pentaho.database.model.IDatabaseType databaseType)
        Returns database dialect registered to the Pentaho System for specified database type.
        Specified by:
        getDialect in interface org.pentaho.database.IDatabaseDialectProvider
        Parameters:
        usableOnly -
        databaseType -
        Returns:
        database dialect or null.