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 of DataSource whose getConnection methods return OlapConnection objects rather than mere Connections.

    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
      • Methods inherited from interface javax.sql.DataSource

        createConnectionBuilder, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
      • Methods inherited from interface java.sql.Wrapper

        isWrapperFor, unwrap
    • Method Detail

      • 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