Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap4j
Class Olap4jDataSource

java.lang.Object
  extended by com.citra.pivot.olap.mdx.MDXDataSource
      extended by 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.


Field Summary
 
Fields inherited from class com.citra.pivot.olap.mdx.MDXDataSource
resolver, schema
 
Constructor Summary
Olap4jDataSource(OlapConnection olap4jConnection)
          Constructs an Olap4jDataSource.
 
Method Summary
protected  MDXResolver createResolver()
          Creates and returns an instance of the class responsible for resolving selections.
protected  OlapSchema createSchema()
          Creates and returns the schema.
 OlapConnection getOlap4jConnection()
          Retrieves the associated olap4j connection.
 
Methods inherited from class com.citra.pivot.olap.mdx.MDXDataSource
closeConnection, createConnection, executeSelection, getLogging, getResolver, getSchema, setLogging, setResolver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Olap4jDataSource

public Olap4jDataSource(OlapConnection olap4jConnection)
Constructs an Olap4jDataSource.

Method Detail

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

Copyright © 2011 Citra Technologies. All Rights Reserved.