org.olap4j
Interface OlapDataSource
- All Superinterfaces:
- javax.sql.CommonDataSource, javax.sql.DataSource, java.sql.Wrapper
public interface OlapDataSource
- extends javax.sql.DataSource
A factory for connections to the physical OLAP data source that this
OlapDataSource
object represents.
OlapDataSource
is a refinement of
DataSource
whose getConnection
methods
return OlapConnection
objects rather than mere
Connection
s.
- Since:
- Mar 25, 2008
- Version:
- $Id: OlapDataSource.java 229 2009-05-08 19:11:29Z jhyde $
- Author:
- jhyde
Methods inherited from interface javax.sql.CommonDataSource |
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Methods inherited from interface java.sql.Wrapper |
isWrapperFor, unwrap |
getConnection
OlapConnection getConnection()
throws java.sql.SQLException
- Specified by:
getConnection
in interface javax.sql.DataSource
- Throws:
java.sql.SQLException
getConnection
OlapConnection getConnection(java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
- Specified by:
getConnection
in interface javax.sql.DataSource
- Throws:
java.sql.SQLException