Interface IPmdConnectionProvider

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    PmdConnectionProvider

    public interface IPmdConnectionProvider
    extends Serializable
    A stateless connection provider. It is used to replace the way connections get created and how the metadata repository is located.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Connection createConnection​(org.pentaho.di.core.database.DatabaseMeta databaseMeta, String username, String password)  
      TableModel executeQuery​(org.pentaho.metadata.query.model.Query query, org.pentaho.reporting.engine.classic.core.DataRow parameters)
      This brokers execution of a query to the connection provider, it is used for non-SQL based Pentaho Metadata datasources
      org.pentaho.metadata.repository.IMetadataDomainRepository getMetadataDomainRepository​(String domain, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager, org.pentaho.reporting.libraries.resourceloader.ResourceKey contextKey, String xmiFile)  
    • Method Detail

      • createConnection

        Connection createConnection​(org.pentaho.di.core.database.DatabaseMeta databaseMeta,
                                    String username,
                                    String password)
                             throws org.pentaho.reporting.engine.classic.core.ReportDataFactoryException
        Throws:
        org.pentaho.reporting.engine.classic.core.ReportDataFactoryException
      • getMetadataDomainRepository

        org.pentaho.metadata.repository.IMetadataDomainRepository getMetadataDomainRepository​(String domain,
                                                                                              org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager,
                                                                                              org.pentaho.reporting.libraries.resourceloader.ResourceKey contextKey,
                                                                                              String xmiFile)
                                                                                       throws org.pentaho.reporting.engine.classic.core.ReportDataFactoryException
        Throws:
        org.pentaho.reporting.engine.classic.core.ReportDataFactoryException
      • executeQuery

        TableModel executeQuery​(org.pentaho.metadata.query.model.Query query,
                                org.pentaho.reporting.engine.classic.core.DataRow parameters)
                         throws org.pentaho.reporting.engine.classic.core.ReportDataFactoryException
        This brokers execution of a query to the connection provider, it is used for non-SQL based Pentaho Metadata datasources
        Throws:
        org.pentaho.reporting.engine.classic.core.ReportDataFactoryException