Package mondrian.olap4j
Class FactoryJdbc4Plus.AbstractConnection
- java.lang.Object
-
- mondrian.olap4j.MondrianOlap4jConnection
-
- mondrian.olap4j.FactoryJdbc4Plus.AbstractConnection
-
- All Implemented Interfaces:
AutoCloseable
,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
Constructors Constructor Description AbstractConnection(Factory factory, MondrianOlap4jDriver driver, String url, Properties info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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(String name, String value)
void
setClientInfo(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
-
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
Constructor Detail
-
AbstractConnection
AbstractConnection(Factory factory, MondrianOlap4jDriver driver, String url, Properties info) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
createStatement
public OlapStatement createStatement()
- Specified by:
createStatement
in interfaceConnection
- Specified by:
createStatement
in interfaceOlapConnection
- Overrides:
createStatement
in classMondrianOlap4jConnection
-
getMetaData
public OlapDatabaseMetaData getMetaData()
- Specified by:
getMetaData
in interfaceConnection
- Specified by:
getMetaData
in interfaceOlapConnection
- Overrides:
getMetaData
in classMondrianOlap4jConnection
-
createClob
public Clob createClob() throws SQLException
- Specified by:
createClob
in interfaceConnection
- Throws:
SQLException
-
createBlob
public Blob createBlob() throws SQLException
- Specified by:
createBlob
in interfaceConnection
- Throws:
SQLException
-
createNClob
public NClob createNClob() throws SQLException
- Specified by:
createNClob
in interfaceConnection
- Throws:
SQLException
-
createSQLXML
public SQLXML createSQLXML() throws SQLException
- Specified by:
createSQLXML
in interfaceConnection
- Throws:
SQLException
-
isValid
public boolean isValid(int timeout) throws SQLException
- Specified by:
isValid
in interfaceConnection
- Throws:
SQLException
-
setClientInfo
public void setClientInfo(String name, String value) throws SQLClientInfoException
- Specified by:
setClientInfo
in interfaceConnection
- Throws:
SQLClientInfoException
-
setClientInfo
public void setClientInfo(Properties properties) throws SQLClientInfoException
- Specified by:
setClientInfo
in interfaceConnection
- Throws:
SQLClientInfoException
-
getClientInfo
public String getClientInfo(String name) throws SQLException
- Specified by:
getClientInfo
in interfaceConnection
- Throws:
SQLException
-
getClientInfo
public Properties getClientInfo() throws SQLException
- Specified by:
getClientInfo
in interfaceConnection
- Throws:
SQLException
-
createArrayOf
public Array createArrayOf(String typeName, Object[] elements) throws SQLException
- Specified by:
createArrayOf
in interfaceConnection
- Throws:
SQLException
-
createStruct
public Struct createStruct(String typeName, Object[] attributes) throws SQLException
- Specified by:
createStruct
in interfaceConnection
- Throws:
SQLException
-
-