Class OlapUtilServiceImpl
java.lang.Object
net.datenwerke.rs.saiku.service.saiku.OlapUtilServiceImpl
- All Implemented Interfaces:
OlapUtilService
-
Constructor Summary
ConstructorsConstructorDescriptionOlapUtilServiceImpl(HookHandlerService hookHandlerService, JdbcService jdbcService, <any> parameterSetFactory, <any> authenticatorService) -
Method Summary
Modifier and TypeMethodDescriptionvoidflushCache(Report report) Clears the Mondrian Cache of the given report.voidflushCache(MondrianDatasource datasource) List<SaikuHierarchy> getAllDimensionHierarchies(Cube cube, String dimensionName) List<Dimension> getAllDimensions(Cube cube) List<Level> getAllLevels(Cube cube, String dimensionName, String hierarchyName) List<Member> getAllMeasures(Cube cube) List<SimpleCubeElement> getAllMembers(Cube cube, String hierarchy, String level) List<Member> getAllMembers(Cube cube, String dimensionName, String hierarchyName, String levelName) List<SimpleCubeElement> getAllMembers(Cube nativeCube, String hierarchy, String level, String searchString, int searchLimit) CubegetCube(SaikuReport report) getCubes(MondrianDatasource datasource, SaikuReport report) SaikuDimensiongetDimension(Cube cube, String dimensionName) List<Member> getHierarchyRootMembers(Cube cube, String hierarchyName) SaikuMemberOlapConnectiongetOlapConnection(MondrianDatasource mondrianDatasource, SaikuReport report, boolean resetParameters) OlapConnectiongetOlapConnection(SaikuReport report) getProperties(Cube c) replaceParametersInQuery(ParameterSet parameterSet, Map<String, ParameterValue> pMap, String mondrianSchema, boolean resetParameters) booleantestConnection(MondrianDatasource datasource)
-
Constructor Details
-
Method Details
-
getOlapConnection
public OlapConnection getOlapConnection(SaikuReport report) throws ClassNotFoundException, IOException, SQLException - Specified by:
getOlapConnectionin interfaceOlapUtilService- Throws:
ClassNotFoundExceptionIOExceptionSQLException
-
getCube
- Specified by:
getCubein interfaceOlapUtilService- Throws:
ClassNotFoundExceptionIOExceptionSQLException
-
getCubes
public List<String> getCubes(MondrianDatasource datasource, SaikuReport report) throws ClassNotFoundException, IOException, SQLException - Specified by:
getCubesin interfaceOlapUtilService- Throws:
ClassNotFoundExceptionIOExceptionSQLException
-
getAllDimensions
- Specified by:
getAllDimensionsin interfaceOlapUtilService
-
getAllDimensionHierarchies
- Specified by:
getAllDimensionHierarchiesin interfaceOlapUtilService
-
getDimension
- Specified by:
getDimensionin interfaceOlapUtilService
-
getAllMeasures
- Specified by:
getAllMeasuresin interfaceOlapUtilService- Throws:
OlapException
-
replaceParametersInQuery
public String replaceParametersInQuery(ParameterSet parameterSet, Map<String, ParameterValue> pMap, String mondrianSchema, boolean resetParameters) - Specified by:
replaceParametersInQueryin interfaceOlapUtilService
-
getOlapConnection
public OlapConnection getOlapConnection(MondrianDatasource mondrianDatasource, SaikuReport report, boolean resetParameters) throws IOException, ClassNotFoundException, SQLException - Specified by:
getOlapConnectionin interfaceOlapUtilService- Throws:
IOExceptionClassNotFoundExceptionSQLException
-
getAllMembers
public List<Member> getAllMembers(Cube cube, String dimensionName, String hierarchyName, String levelName) throws OlapException - Specified by:
getAllMembersin interfaceOlapUtilService- Throws:
OlapException
-
getMember
- Specified by:
getMemberin interfaceOlapUtilService
-
getAllMembers
- Specified by:
getAllMembersin interfaceOlapUtilService
-
getAllMembers
public List<SimpleCubeElement> getAllMembers(Cube nativeCube, String hierarchy, String level, String searchString, int searchLimit) - Specified by:
getAllMembersin interfaceOlapUtilService
-
getProperties
- Specified by:
getPropertiesin interfaceOlapUtilService
-
getAllLevels
public List<Level> getAllLevels(Cube cube, String dimensionName, String hierarchyName) throws OlapException - Specified by:
getAllLevelsin interfaceOlapUtilService- Throws:
OlapException
-
getHierarchyRootMembers
- Specified by:
getHierarchyRootMembersin interfaceOlapUtilService- Throws:
OlapException
-
flushCache
Description copied from interface:OlapUtilServiceClears the Mondrian Cache of the given report.- Specified by:
flushCachein interfaceOlapUtilService- Parameters:
report- the report of which the cache should be cleared
-
flushCache
- Specified by:
flushCachein interfaceOlapUtilService
-
testConnection
- Specified by:
testConnectionin interfaceOlapUtilService- Throws:
ConnectionTestFailedException
-