Interface OlapUtilService
- All Known Implementing Classes:
OlapUtilServiceImpl
public interface OlapUtilService
-
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 dimension, String hierarchy) List<Member> getAllMeasures(Cube cube) List<SimpleCubeElement> getAllMembers(Cube cube, String hierarchy, String level) List<Member> getAllMembers(Cube cube, String dimension, String hierarchy, String level) 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 cube) replaceParametersInQuery(ParameterSet parameterSet, Map<String, ParameterValue> pMap, String mondrianSchema, boolean resetParameters) booleantestConnection(MondrianDatasource datasource)
-
Method Details
-
getOlapConnection
OlapConnection getOlapConnection(SaikuReport report) throws ClassNotFoundException, IOException, SQLException -
getOlapConnection
OlapConnection getOlapConnection(MondrianDatasource mondrianDatasource, SaikuReport report, boolean resetParameters) throws IOException, ClassNotFoundException, SQLException -
getCube
-
replaceParametersInQuery
String replaceParametersInQuery(ParameterSet parameterSet, Map<String, ParameterValue> pMap, String mondrianSchema, boolean resetParameters) -
getAllMeasures
- Throws:
OlapException
-
getAllDimensions
-
getAllMembers
List<Member> getAllMembers(Cube cube, String dimension, String hierarchy, String level) throws OlapException - Throws:
OlapException
-
getAllLevels
- Throws:
OlapException
-
getHierarchyRootMembers
- Throws:
OlapException
-
getCubes
List<String> getCubes(MondrianDatasource datasource, SaikuReport report) throws ClassNotFoundException, IOException, SQLException -
getProperties
-
getAllDimensionHierarchies
-
getDimension
-
getAllMembers
-
getAllMembers
-
getMember
-
flushCache
Clears the Mondrian Cache of the given report.- Parameters:
report- the report of which the cache should be cleared
-
flushCache
-
testConnection
- Throws:
ConnectionTestFailedException
-