org.olap4j
Interface OlapDataSource

All Superinterfaces:
CommonDataSource, DataSource, Wrapper

public interface OlapDataSource
extends 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 Connections.

Since:
Mar 25, 2008
Version:
$Id: OlapDataSource.java 482 2012-01-05 23:27:27Z jhyde $
Author:
jhyde

Method Summary
 OlapConnection getConnection()
           
 OlapConnection getConnection(String username, String password)
           
 
Methods inherited from interface javax.sql.CommonDataSource
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Method Detail

getConnection

OlapConnection getConnection()
                             throws SQLException
Specified by:
getConnection in interface DataSource
Throws:
SQLException

getConnection

OlapConnection getConnection(String username,
                             String password)
                             throws SQLException
Specified by:
getConnection in interface DataSource
Throws:
SQLException

SourceForge.net_Logo