Package 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 ofDataSource
whosegetConnection
methods returnOlapConnection
objects rather than mereConnection
s.- Since:
- Mar 25, 2008
- Author:
- jhyde
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OlapConnection
getConnection()
OlapConnection
getConnection(java.lang.String username, java.lang.String password)
-
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder, getParentLogger
-
-
-
-
Method Detail
-
getConnection
OlapConnection getConnection() throws java.sql.SQLException
- Specified by:
getConnection
in interfacejavax.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 interfacejavax.sql.DataSource
- Throws:
java.sql.SQLException
-
-