interface Factory
There are implementations for JDBC 3.0 (which occurs in JDK 1.5) and JDBC 4.0 (which occurs in JDK 1.6).
| Modifier and Type | Method and Description | 
|---|---|
MondrianOlap4jCellSet | 
newCellSet(MondrianOlap4jStatement olap4jStatement)
Creates a cell set. 
 | 
Connection | 
newConnection(MondrianOlap4jDriver driver,
             String url,
             Properties info)
Creates a connection. 
 | 
MondrianOlap4jDatabaseMetaData | 
newDatabaseMetaData(MondrianOlap4jConnection olap4jConnection,
                   RolapConnection mondrianConnection)
Creates a metadata object. 
 | 
EmptyResultSet | 
newEmptyResultSet(MondrianOlap4jConnection olap4jConnection)
Creates an empty result set. 
 | 
ResultSet | 
newFixedResultSet(MondrianOlap4jConnection olap4jConnection,
                 List<String> headerList,
                 List<List<Object>> rowList)
Creates a result set with a fixed set of rows. 
 | 
MondrianOlap4jPreparedStatement | 
newPreparedStatement(String mdx,
                    MondrianOlap4jConnection olap4jConnection)
Creates a prepared statement. 
 | 
MondrianOlap4jStatement | 
newStatement(MondrianOlap4jConnection olap4jConnection)
Creates a statement. 
 | 
Connection newConnection(MondrianOlap4jDriver driver, String url, Properties info) throws SQLException
driver - Driverurl - URL of serverinfo - Properties defining the connectionSQLException - on errorEmptyResultSet newEmptyResultSet(MondrianOlap4jConnection olap4jConnection)
olap4jConnection - ConnectionResultSet newFixedResultSet(MondrianOlap4jConnection olap4jConnection, List<String> headerList, List<List<Object>> rowList)
olap4jConnection - ConnectionheaderList - Column headersrowList - Row valuesMondrianOlap4jCellSet newCellSet(MondrianOlap4jStatement olap4jStatement)
olap4jStatement - StatementMondrianOlap4jStatement newStatement(MondrianOlap4jConnection olap4jConnection)
olap4jConnection - ConnectionMondrianOlap4jPreparedStatement newPreparedStatement(String mdx, MondrianOlap4jConnection olap4jConnection) throws OlapException
mdx - MDX query textolap4jConnection - ConnectionOlapException - on database errorMondrianOlap4jDatabaseMetaData newDatabaseMetaData(MondrianOlap4jConnection olap4jConnection, RolapConnection mondrianConnection)
olap4jConnection - ConnectionmondrianConnection - Mondrian connection