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 ArraycreateArrayOf(String typeName, Object[] elements)BlobcreateBlob()ClobcreateClob()NClobcreateNClob()SQLXMLcreateSQLXML()OlapStatementcreateStatement()StructcreateStruct(String typeName, Object[] attributes)PropertiesgetClientInfo()StringgetClientInfo(String name)OlapDatabaseMetaDatagetMetaData()booleanisValid(int timeout)voidsetClientInfo(String name, String value)voidsetClientInfo(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:
createStatementin interfaceConnection- Specified by:
createStatementin interfaceOlapConnection- Overrides:
createStatementin classMondrianOlap4jConnection
-
getMetaData
public OlapDatabaseMetaData getMetaData()
- Specified by:
getMetaDatain interfaceConnection- Specified by:
getMetaDatain interfaceOlapConnection- Overrides:
getMetaDatain classMondrianOlap4jConnection
-
createClob
public Clob createClob() throws SQLException
- Specified by:
createClobin interfaceConnection- Throws:
SQLException
-
createBlob
public Blob createBlob() throws SQLException
- Specified by:
createBlobin interfaceConnection- Throws:
SQLException
-
createNClob
public NClob createNClob() throws SQLException
- Specified by:
createNClobin interfaceConnection- Throws:
SQLException
-
createSQLXML
public SQLXML createSQLXML() throws SQLException
- Specified by:
createSQLXMLin interfaceConnection- Throws:
SQLException
-
isValid
public boolean isValid(int timeout) throws SQLException- Specified by:
isValidin interfaceConnection- Throws:
SQLException
-
setClientInfo
public void setClientInfo(String name, String value) throws SQLClientInfoException
- Specified by:
setClientInfoin interfaceConnection- Throws:
SQLClientInfoException
-
setClientInfo
public void setClientInfo(Properties properties) throws SQLClientInfoException
- Specified by:
setClientInfoin interfaceConnection- Throws:
SQLClientInfoException
-
getClientInfo
public String getClientInfo(String name) throws SQLException
- Specified by:
getClientInfoin interfaceConnection- Throws:
SQLException
-
getClientInfo
public Properties getClientInfo() throws SQLException
- Specified by:
getClientInfoin interfaceConnection- Throws:
SQLException
-
createArrayOf
public Array createArrayOf(String typeName, Object[] elements) throws SQLException
- Specified by:
createArrayOfin interfaceConnection- Throws:
SQLException
-
createStruct
public Struct createStruct(String typeName, Object[] attributes) throws SQLException
- Specified by:
createStructin interfaceConnection- Throws:
SQLException
-
-