Class LegacyBandedMDXDataFactory
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.AbstractDataFactory
-
- org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.AbstractMDXDataFactory
-
- org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.AbstractNamedMDXDataFactory
-
- org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.LegacyBandedMDXDataFactory
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.pentaho.reporting.engine.classic.core.DataFactory
,org.pentaho.reporting.engine.classic.core.DataFactoryDesignTimeSupport
,org.pentaho.reporting.engine.classic.core.DataFactoryMetaProvider
public class LegacyBandedMDXDataFactory extends AbstractNamedMDXDataFactory
This data-factory operates in Legacy-Mode providing a preprocessed view on the mondrian result. It behaves exactly as known from the Pentaho-Platform and the Hitachi Vantara-Report-Designer. This mode of operation breaks the structure of the resulting table as soon as new rows are returned by the server.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.AbstractMDXDataFactory
AbstractMDXDataFactory.MDXCompiler
-
-
Constructor Summary
Constructors Constructor Description LegacyBandedMDXDataFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableModel
queryData(String queryName, org.pentaho.reporting.engine.classic.core.DataRow parameters)
Queries a datasource.-
Methods inherited from class org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.AbstractNamedMDXDataFactory
clone, close, computedQuery, getGlobalScript, getGlobalScriptLanguage, getQuery, getQueryHash, getQueryNames, getReferencedFields, getScript, getScriptingLanguage, initialize, isQueryExecutable, performQuery, postProcess, remove, setGlobalScript, setGlobalScriptLanguage, setQuery, setQuery, translateQuery
-
Methods inherited from class org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.AbstractMDXDataFactory
cancelRunningQuery, clearCache, extractQueryLimit, getBaseConnectionProperties, getCubeFileProvider, getDataSourceProvider, getDesignTimeName, getDynamicSchemaProcessor, getJdbcPassword, getJdbcPasswordField, getJdbcUser, getJdbcUserField, getMondrianConnectionProvider, getRole, getRoleField, isMembersOnAxisSorted, isUseContentChecksum, isUseSchemaPool, quote, setBaseConnectionProperties, setCubeFileProvider, setDataSourceProvider, setDesignTimeName, setDynamicSchemaProcessor, setJdbcPassword, setJdbcPasswordField, setJdbcUser, setJdbcUserField, setMembersOnAxisSorted, setMondrianConnectionProvider, setRole, setRoleField, setUseContentChecksum, setUseSchemaPool, yuckyInternalMondrianLookup
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.AbstractDataFactory
calculateQueryLimit, calculateQueryTimeOut, derive, getConfiguration, getContextKey, getDataFactoryContext, getDisplayConnectionName, getLocale, getMetaData, getResourceBundleFactory, getResourceManager, queryDesignTimeStructure
-
-
-
-
Method Detail
-
queryData
public TableModel queryData(String queryName, org.pentaho.reporting.engine.classic.core.DataRow parameters) throws org.pentaho.reporting.engine.classic.core.ReportDataFactoryException
Queries a datasource. The string 'query' defines the name of the query. The Parameterset given here may contain more data than actually needed for the query. The parameter-dataset may change between two calls, do not assume anything, and do not hold references to the parameter-dataset or the position of the columns in the dataset.- Parameters:
queryName
- the query nameparameters
- the parameters for the query- Returns:
- the result of the query as table model.
- Throws:
org.pentaho.reporting.engine.classic.core.ReportDataFactoryException
- if an error occured while performing the query.
-
-