Package org.pentaho.commons.system
Class PentahoSystemDatabaseDialectProvider
- java.lang.Object
-
- org.pentaho.commons.system.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 Summary
Constructors Constructor Description PentahoSystemDatabaseDialectProvider()
PentahoSystemDatabaseDialectProvider(Function<Class<org.pentaho.database.IDatabaseDialect>,List<org.pentaho.database.IDatabaseDialect>> dialectGetter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.Collection<org.pentaho.database.IDatabaseDialect>
getDialects(boolean usableOnly)
Returns collection of database dialects registered to the Hitachi Vantara System.
-
-
-
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 interfaceorg.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 interfaceorg.pentaho.database.IDatabaseDialectProvider
- Parameters:
usableOnly
-databaseType
-- Returns:
- database dialect or null.
-
-