| java.lang.Object org.pentaho.data.PentahoConnectionFactory
PentahoConnectionFactory | public class PentahoConnectionFactory (Code) | | author: wseyler author: TODO To change the template for this generated type comment go to Window - author: Preferences - Java - Code Style - Code Templates |
Method Summary | |
public static IPentahoConnection | getConnection(int datasourceType, String connectStr, ILogger logger) Parameters: datasourceType - valid type is defined as SQL_DATASOURCE or MDX_DATASOURCE Parameters: connectStr - -In the case of SQL_DATASOURCE, the name of the JNDI connectionto use. | public static IPentahoConnection | getConnection(String propName, ILogger logger) | public static IPentahoConnection | getConnection(int datasourceType, String driver, String location, String userName, String password, ILogger logger) Parameters: datasourceType - valid types are defined as SQL_DATASOURCE, MDX_DATASOURCE andXML_DATASOURCE Parameters: location - -A string specfic to the location and type of datasource. | public static IPentahoConnection | getConnection(int datasourceType, ILogger logger) | public static IPentahoConnection | getConnection(int datasourceType, Properties mdxConnectionProps, ILogger logger) |
getConnection | public static IPentahoConnection getConnection(int datasourceType, String connectStr, ILogger logger)(Code) | | Parameters: datasourceType - valid type is defined as SQL_DATASOURCE or MDX_DATASOURCE Parameters: connectStr - -In the case of SQL_DATASOURCE, the name of the JNDI connectionto use. Or in the case of MDX_DATASOURCE a properly formattedconnection String. a connection object that can be queried against. |
getConnection | public static IPentahoConnection getConnection(String propName, ILogger logger)(Code) | | |
getConnection | public static IPentahoConnection getConnection(int datasourceType, String driver, String location, String userName, String password, ILogger logger)(Code) | | Parameters: datasourceType - valid types are defined as SQL_DATASOURCE, MDX_DATASOURCE andXML_DATASOURCE Parameters: location - -A string specfic to the location and type of datasource. Foran SQL instance it would be the URL string required by theimplementing driver. Parameters: userName - Parameters: password - a connection object that can be queried against. |
getConnection | public static IPentahoConnection getConnection(int datasourceType, ILogger logger)(Code) | | |
getConnection | public static IPentahoConnection getConnection(int datasourceType, Properties mdxConnectionProps, ILogger logger)(Code) | | |
|
|