mondrian.olap4j
Class FactoryJdbc4Plus.AbstractConnection

java.lang.Object
  extended by mondrian.olap4j.MondrianOlap4jConnection
      extended by mondrian.olap4j.FactoryJdbc4Plus.AbstractConnection
All Implemented Interfaces:
Connection, Wrapper, OlapConnection, OlapWrapper
Enclosing class:
FactoryJdbc4Plus

abstract static class FactoryJdbc4Plus.AbstractConnection
extends MondrianOlap4jConnection
implements OlapConnection


Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.olap4j.MondrianOlap4jConnection
MondrianOlap4jConnection.Helper
 
Field Summary
 
Fields inherited from class mondrian.olap4j.MondrianOlap4jConnection
driver, factory, helper, mondrianServer, preferList, schemaMap
 
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
Constructor Summary
FactoryJdbc4Plus.AbstractConnection(Factory factory, MondrianOlap4jDriver driver, String url, Properties info)
           
 
Method Summary
 Array createArrayOf(String typeName, Object[] elements)
           
 Blob createBlob()
           
 Clob createClob()
           
 NClob createNClob()
           
 SQLXML createSQLXML()
           
 OlapStatement createStatement()
           
 Struct createStruct(String typeName, Object[] attributes)
           
 Properties getClientInfo()
           
 String getClientInfo(String name)
           
 OlapDatabaseMetaData getMetaData()
           
 boolean isValid(int timeout)
           
 void setClientInfo(Properties properties)
           
 void setClientInfo(String name, String value)
           
 
Methods inherited from class mondrian.olap4j.MondrianOlap4jConnection
acceptsURL, clearWarnings, close, commit, createScenario, createStatement, createStatement, getAutoCommit, getAvailableRoleNames, getCatalog, getDatabase, getHoldability, getLocale, getMondrianConnection, getMondrianConnection2, getOlapCatalog, getOlapCatalogs, getOlapDatabase, getOlapDatabases, getOlapSchema, getOlapSchemas, getParserFactory, getRoleName, getScenario, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isWrapperFor, nativeSQL, prepareCall, prepareCall, prepareCall, prepareOlapStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setDatabase, setHoldability, setLocale, setPreferList, setReadOnly, setRoleName, setSavepoint, setSavepoint, setScenario, setSchema, setTransactionIsolation, setTypeMap, toOlap4j, toOlap4j, toOlap4j, toOlap4j, toOlap4j, toOlap4j, toOlap4j, toOlap4j, toOlap4j, toOlap4j, toOlap4j, toOlap4j, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.olap4j.OlapConnection
createScenario, getAvailableRoleNames, getCatalog, getDatabase, getLocale, getOlapCatalog, getOlapCatalogs, getOlapDatabase, getOlapDatabases, getOlapSchema, getOlapSchemas, getParserFactory, getRoleName, getScenario, getSchema, prepareOlapStatement, setCatalog, setDatabase, setLocale, setRoleName, setScenario, setSchema
 
Methods inherited from interface java.sql.Connection
clearWarnings, close, commit, createStatement, createStatement, getAutoCommit, getHoldability, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 
Methods inherited from interface org.olap4j.OlapWrapper
isWrapperFor, unwrap
 

Constructor Detail

FactoryJdbc4Plus.AbstractConnection

FactoryJdbc4Plus.AbstractConnection(Factory factory,
                                    MondrianOlap4jDriver driver,
                                    String url,
                                    Properties info)
                              throws SQLException
Throws:
SQLException
Method Detail

createStatement

public OlapStatement createStatement()
Specified by:
createStatement in interface Connection
Specified by:
createStatement in interface OlapConnection
Overrides:
createStatement in class MondrianOlap4jConnection

getMetaData

public OlapDatabaseMetaData getMetaData()
Specified by:
getMetaData in interface Connection
Specified by:
getMetaData in interface OlapConnection
Overrides:
getMetaData in class MondrianOlap4jConnection

createClob

public Clob createClob()
                throws SQLException
Specified by:
createClob in interface Connection
Throws:
SQLException

createBlob

public Blob createBlob()
                throws SQLException
Specified by:
createBlob in interface Connection
Throws:
SQLException

createNClob

public NClob createNClob()
                  throws SQLException
Specified by:
createNClob in interface Connection
Throws:
SQLException

createSQLXML

public SQLXML createSQLXML()
                    throws SQLException
Specified by:
createSQLXML in interface Connection
Throws:
SQLException

isValid

public boolean isValid(int timeout)
                throws SQLException
Specified by:
isValid in interface Connection
Throws:
SQLException

setClientInfo

public void setClientInfo(String name,
                          String value)
                   throws SQLClientInfoException
Specified by:
setClientInfo in interface Connection
Throws:
SQLClientInfoException

setClientInfo

public void setClientInfo(Properties properties)
                   throws SQLClientInfoException
Specified by:
setClientInfo in interface Connection
Throws:
SQLClientInfoException

getClientInfo

public String getClientInfo(String name)
                     throws SQLException
Specified by:
getClientInfo in interface Connection
Throws:
SQLException

getClientInfo

public Properties getClientInfo()
                         throws SQLException
Specified by:
getClientInfo in interface Connection
Throws:
SQLException

createArrayOf

public Array createArrayOf(String typeName,
                           Object[] elements)
                    throws SQLException
Specified by:
createArrayOf in interface Connection
Throws:
SQLException

createStruct

public Struct createStruct(String typeName,
                           Object[] attributes)
                    throws SQLException
Specified by:
createStruct in interface Connection
Throws:
SQLException

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads