Package mondrian.olap4j
Class FactoryJdbc4Plus.AbstractConnection
- java.lang.Object
-
- mondrian.olap4j.MondrianOlap4jConnection
-
- mondrian.olap4j.FactoryJdbc4Plus.AbstractConnection
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.sql.Connection
,java.sql.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
-
-
Constructor Summary
Constructors Constructor Description AbstractConnection(Factory factory, MondrianOlap4jDriver driver, java.lang.String url, java.util.Properties info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.Array
createArrayOf(java.lang.String typeName, java.lang.Object[] elements)
java.sql.Blob
createBlob()
java.sql.Clob
createClob()
java.sql.NClob
createNClob()
java.sql.SQLXML
createSQLXML()
OlapStatement
createStatement()
java.sql.Struct
createStruct(java.lang.String typeName, java.lang.Object[] attributes)
java.util.Properties
getClientInfo()
java.lang.String
getClientInfo(java.lang.String name)
OlapDatabaseMetaData
getMetaData()
boolean
isValid(int timeout)
void
setClientInfo(java.lang.String name, java.lang.String value)
void
setClientInfo(java.util.Properties properties)
-
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, getRoleNames, 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, setRoleNames, 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 java.sql.Connection
abort, beginRequest, clearWarnings, close, commit, createStatement, createStatement, endRequest, getAutoCommit, getHoldability, getNetworkTimeout, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid, setTransactionIsolation, setTypeMap
-
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 org.olap4j.OlapWrapper
isWrapperFor, unwrap
-
-
-
-
Constructor Detail
-
AbstractConnection
AbstractConnection(Factory factory, MondrianOlap4jDriver driver, java.lang.String url, java.util.Properties info) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-
Method Detail
-
createStatement
public OlapStatement createStatement()
- Specified by:
createStatement
in interfacejava.sql.Connection
- Specified by:
createStatement
in interfaceOlapConnection
- Overrides:
createStatement
in classMondrianOlap4jConnection
-
getMetaData
public OlapDatabaseMetaData getMetaData()
- Specified by:
getMetaData
in interfacejava.sql.Connection
- Specified by:
getMetaData
in interfaceOlapConnection
- Overrides:
getMetaData
in classMondrianOlap4jConnection
-
createClob
public java.sql.Clob createClob() throws java.sql.SQLException
- Specified by:
createClob
in interfacejava.sql.Connection
- Throws:
java.sql.SQLException
-
createBlob
public java.sql.Blob createBlob() throws java.sql.SQLException
- Specified by:
createBlob
in interfacejava.sql.Connection
- Throws:
java.sql.SQLException
-
createNClob
public java.sql.NClob createNClob() throws java.sql.SQLException
- Specified by:
createNClob
in interfacejava.sql.Connection
- Throws:
java.sql.SQLException
-
createSQLXML
public java.sql.SQLXML createSQLXML() throws java.sql.SQLException
- Specified by:
createSQLXML
in interfacejava.sql.Connection
- Throws:
java.sql.SQLException
-
isValid
public boolean isValid(int timeout) throws java.sql.SQLException
- Specified by:
isValid
in interfacejava.sql.Connection
- Throws:
java.sql.SQLException
-
setClientInfo
public void setClientInfo(java.lang.String name, java.lang.String value) throws java.sql.SQLClientInfoException
- Specified by:
setClientInfo
in interfacejava.sql.Connection
- Throws:
java.sql.SQLClientInfoException
-
setClientInfo
public void setClientInfo(java.util.Properties properties) throws java.sql.SQLClientInfoException
- Specified by:
setClientInfo
in interfacejava.sql.Connection
- Throws:
java.sql.SQLClientInfoException
-
getClientInfo
public java.lang.String getClientInfo(java.lang.String name) throws java.sql.SQLException
- Specified by:
getClientInfo
in interfacejava.sql.Connection
- Throws:
java.sql.SQLException
-
getClientInfo
public java.util.Properties getClientInfo() throws java.sql.SQLException
- Specified by:
getClientInfo
in interfacejava.sql.Connection
- Throws:
java.sql.SQLException
-
createArrayOf
public java.sql.Array createArrayOf(java.lang.String typeName, java.lang.Object[] elements) throws java.sql.SQLException
- Specified by:
createArrayOf
in interfacejava.sql.Connection
- Throws:
java.sql.SQLException
-
createStruct
public java.sql.Struct createStruct(java.lang.String typeName, java.lang.Object[] attributes) throws java.sql.SQLException
- Specified by:
createStruct
in interfacejava.sql.Connection
- Throws:
java.sql.SQLException
-
-