public class OlapDiscoverResource
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
OlapDiscoverResource(OlapUtilService olapUtils,
<any> saikuSessionContainer,
HookHandlerService hookHandler,
SecurityService securityService,
<any> authenticatorService) |
Modifier and Type | Method and Description |
---|---|
java.util.List<SaikuConnection> |
getConnections(java.lang.String username)
Returns the org.saiku.datasources available.
|
java.util.List<SaikuConnection> |
getConnections(java.lang.String username,
java.lang.String connectionName)
Returns the org.saiku.datasources available.
|
java.util.List<SaikuHierarchy> |
getCubeHierarchies(java.lang.String username,
java.lang.String connectionName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName)
Get Cube Hierachy Information
|
java.util.List<SaikuMember> |
getCubeMeasures(java.lang.String username,
java.lang.String connectionName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName)
Get Cube Measure Information
|
SaikuDimension |
getDimension(java.lang.String username,
java.lang.String connectionName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName,
java.lang.String dimensionName)
Get a dimension from cube
|
java.util.List<SaikuHierarchy> |
getDimensionHierarchies(java.lang.String username,
java.lang.String connectionName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName,
java.lang.String dimensionName)
Get hierarchies from a dimension.
|
java.util.List<SaikuDimension> |
getDimensions(java.lang.String username,
java.lang.String connectionName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName)
Get the dimensions from a cube.
|
java.util.List<SaikuLevel> |
getHierarchy(java.lang.String username,
java.lang.String connectionName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName,
java.lang.String dimensionName,
java.lang.String hierarchyName)
Get a hierarchy
|
java.util.List<SimpleCubeElement> |
getLevelMembers(java.lang.String username,
java.lang.String connectionName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName,
java.lang.String dimensionName,
java.lang.String hierarchyName,
java.lang.String levelName)
Get level information.
|
SaikuMember |
getMember(java.lang.String username,
java.lang.String connectionName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName,
java.lang.String memberName)
Get all info for given member
|
java.util.List<SaikuMember> |
getMemberChildren(java.lang.String username,
java.lang.String connectionName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName,
java.lang.String memberName)
Get child members of given member.
|
SaikuCubeMetadata |
getMetadata(java.lang.String username,
java.lang.String connectionName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName)
Get Cube Metadata
|
java.util.List<SaikuMember> |
getRootMembers(java.lang.String username,
java.lang.String connectionName,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName,
java.lang.String hierarchyName)
Get root member of that hierarchy.
|
java.util.List<SaikuConnection> |
refreshConnection(java.lang.String username,
java.lang.String connectionName)
Refresh a specific connection by connection name.
|
java.util.List<SaikuConnection> |
refreshConnections(java.lang.String username)
Refresh the Saiku connections.
|
public OlapDiscoverResource(OlapUtilService olapUtils, <any> saikuSessionContainer, HookHandlerService hookHandler, SecurityService securityService, <any> authenticatorService)
public java.util.List<SaikuConnection> getConnections(java.lang.String username)
public java.util.List<SaikuConnection> getConnections(java.lang.String username, java.lang.String connectionName)
connectionName
- The connection namepublic java.util.List<SaikuConnection> refreshConnections(java.lang.String username)
public java.util.List<SaikuConnection> refreshConnection(java.lang.String username, java.lang.String connectionName)
connectionName
- The connection name.public SaikuCubeMetadata getMetadata(java.lang.String username, java.lang.String connectionName, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName)
connectionName
- The connection namecatalogName
- The catalog nameschemaName
- The schema namecubeName
- The cube namepublic java.util.List<SaikuDimension> getDimensions(java.lang.String username, java.lang.String connectionName, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName)
connectionName
- The connection name.catalogName
- The catalog name.schemaName
- The schema name.cubeName
- The cube name.public SaikuDimension getDimension(java.lang.String username, java.lang.String connectionName, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName, java.lang.String dimensionName)
connectionName
- The connection namecatalogName
- The catalog nameschemaName
- The schema namecubeName
- The cube namedimensionName
- The dimension namepublic java.util.List<SaikuHierarchy> getDimensionHierarchies(java.lang.String username, java.lang.String connectionName, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName, java.lang.String dimensionName)
connectionName
- The connection namecatalogName
- The catalog nameschemaName
- The schema namecubeName
- The cube namedimensionName
- The dimension namepublic java.util.List<SaikuLevel> getHierarchy(java.lang.String username, java.lang.String connectionName, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName, java.lang.String dimensionName, java.lang.String hierarchyName)
connectionName
- The connection namecatalogName
- The catalog nameschemaName
- The schema namecubeName
- The cube namedimensionName
- The dimension namehierarchyName
- The hierarchy namepublic java.util.List<SimpleCubeElement> getLevelMembers(java.lang.String username, java.lang.String connectionName, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName, java.lang.String dimensionName, java.lang.String hierarchyName, java.lang.String levelName)
connectionName
- The connection namecatalogName
- The catalog nameschemaName
- The schema namecubeName
- The cube namedimensionName
- The dimension namehierarchyName
- The hierarchy namelevelName
- The level namepublic java.util.List<SaikuMember> getRootMembers(java.lang.String username, java.lang.String connectionName, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName, java.lang.String hierarchyName)
connectionName
- The connection namecatalogName
- The catalog nameschemaName
- The schema namecubeName
- The cube namehierarchyName
- The hierarchy namepublic java.util.List<SaikuHierarchy> getCubeHierarchies(java.lang.String username, java.lang.String connectionName, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName)
connectionName
- The connection namecatalogName
- The catalog nameschemaName
- The schema namecubeName
- The cube namepublic java.util.List<SaikuMember> getCubeMeasures(java.lang.String username, java.lang.String connectionName, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName)
connectionName
- The connection namecatalogName
- The catalog nameschemaName
- The schema namecubeName
- The cube namepublic SaikuMember getMember(java.lang.String username, java.lang.String connectionName, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName, java.lang.String memberName)
catalogName
- The catalog nameconnectionName
- The connection namecubeName
- The cube namememberName
- The member nameschemaName
- The schema namepublic java.util.List<SaikuMember> getMemberChildren(java.lang.String username, java.lang.String connectionName, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName, java.lang.String memberName)
connectionName
- The connection nameschemaName
- The schema namecatalogName
- The catalog namememberName
- The member namecubeName
- The cube name