|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface Factory
Instantiates classes to implement the olap4j API against the Mondrian OLAP engine.
There are implementations for JDBC 3.0 (which occurs in JDK 1.5) and JDBC 4.0 (which occurs in JDK 1.6).
Method Summary | |
---|---|
MondrianOlap4jCellSet |
newCellSet(MondrianOlap4jStatement olap4jStatement,
Query query)
Creates a cell set. |
Connection |
newConnection(MondrianOlap4jDriver driver,
String url,
Properties info)
Creates a connection. |
MondrianOlap4jDatabaseMetaData |
newDatabaseMetaData(MondrianOlap4jConnection olap4jConnection)
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. |
Method Detail |
---|
Connection newConnection(MondrianOlap4jDriver driver, String url, Properties info) throws SQLException
driver
- Driverurl
- URL of serverinfo
- Properties defining the connection
SQLException
- on errorEmptyResultSet newEmptyResultSet(MondrianOlap4jConnection olap4jConnection)
olap4jConnection
- Connection
ResultSet newFixedResultSet(MondrianOlap4jConnection olap4jConnection, List<String> headerList, List<List<Object>> rowList)
olap4jConnection
- ConnectionheaderList
- Column headersrowList
- Row values
MondrianOlap4jCellSet newCellSet(MondrianOlap4jStatement olap4jStatement, Query query)
olap4jStatement
- Statement
MondrianOlap4jPreparedStatement newPreparedStatement(String mdx, MondrianOlap4jConnection olap4jConnection)
mdx
- MDX query textolap4jConnection
- Connection
MondrianOlap4jDatabaseMetaData newDatabaseMetaData(MondrianOlap4jConnection olap4jConnection)
olap4jConnection
- Connection
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |