public class MDXOlap4jConnection extends Object implements org.pentaho.commons.connection.IPentahoConnection
CLASSNAME_KEY, CONNECTION, DRIVER_KEY, HQL_DATASOURCE, JNDI_NAME_KEY, KEYS, LOCATION_KEY, MDX_DATASOURCE, MDX_OLAP4J_DATASOURCE, NONE_DATASOURCE, PASSWORD_KEY, PROVIDER, QUERY_KEY, SQL_DATASOURCE, USERNAME_KEY, XML_DATASOURCE
Constructor and Description |
---|
MDXOlap4jConnection() |
Modifier and Type | Method and Description |
---|---|
void |
clearWarnings() |
void |
close() |
boolean |
connect(Properties props) |
org.pentaho.commons.connection.IPentahoResultSet |
executeQuery(String arg0) |
org.olap4j.OlapConnection |
getConnection() |
String |
getDatasourceType() |
String |
getLastQuery() |
org.pentaho.commons.connection.IPentahoResultSet |
getResultSet() |
boolean |
initialized() |
boolean |
isClosed() |
boolean |
isReadOnly() |
org.pentaho.commons.connection.IPentahoResultSet |
prepareAndExecuteQuery(String arg0,
List arg1) |
boolean |
preparedQueriesSupported() |
void |
setFetchSize(int arg0) |
void |
setMaxRows(int arg0) |
void |
setProperties(Properties props) |
public void close()
close
in interface org.pentaho.commons.connection.IPentahoConnection
public boolean connect(Properties props)
connect
in interface org.pentaho.commons.connection.IPentahoConnection
public org.pentaho.commons.connection.IPentahoResultSet executeQuery(String arg0)
executeQuery
in interface org.pentaho.commons.connection.IPentahoConnection
public org.pentaho.commons.connection.IPentahoResultSet getResultSet()
getResultSet
in interface org.pentaho.commons.connection.IPentahoConnection
public boolean initialized()
initialized
in interface org.pentaho.commons.connection.IPentahoConnection
public boolean isClosed()
isClosed
in interface org.pentaho.commons.connection.IPentahoConnection
public boolean isReadOnly()
isReadOnly
in interface org.pentaho.commons.connection.IPentahoConnection
public org.pentaho.commons.connection.IPentahoResultSet prepareAndExecuteQuery(String arg0, List arg1) throws Exception
prepareAndExecuteQuery
in interface org.pentaho.commons.connection.IPentahoConnection
Exception
public boolean preparedQueriesSupported()
preparedQueriesSupported
in interface org.pentaho.commons.connection.IPentahoConnection
public void setFetchSize(int arg0)
setFetchSize
in interface org.pentaho.commons.connection.IPentahoConnection
public void setMaxRows(int arg0)
setMaxRows
in interface org.pentaho.commons.connection.IPentahoConnection
public void setProperties(Properties props)
setProperties
in interface org.pentaho.commons.connection.IPentahoConnection
public void clearWarnings()
clearWarnings
in interface org.pentaho.commons.connection.IPentahoConnection
public String getDatasourceType()
getDatasourceType
in interface org.pentaho.commons.connection.IPentahoConnection
public String getLastQuery()
getLastQuery
in interface org.pentaho.commons.connection.IPentahoConnection
public org.olap4j.OlapConnection getConnection()