com.citra.pivot.olap4j
Class Olap4jDataSource
java.lang.Object
com.citra.pivot.olap.mdx.MDXDataSource
com.citra.pivot.olap4j.Olap4jDataSource
- All Implemented Interfaces:
- DataSource
public class Olap4jDataSource
- extends MDXDataSource
Olap4jDataSource is a datasource implementation that connects to analytical databases
with the olap4j framework using the XML/A protocol.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Olap4jDataSource
public Olap4jDataSource(OlapConnection olap4jConnection)
- Constructs an Olap4jDataSource.
createResolver
protected MDXResolver createResolver()
- Creates and returns an instance of the class responsible for resolving selections.
- Specified by:
createResolver
in class MDXDataSource
- Returns:
- the resolver
getOlap4jConnection
public OlapConnection getOlap4jConnection()
- Retrieves the associated olap4j connection.
- Returns:
- the olap connection
createSchema
protected OlapSchema createSchema()
- Creates and returns the schema.
- Specified by:
createSchema
in class MDXDataSource
- Returns:
- the schema