Class OlapDiscoverResource

java.lang.Object
net.datenwerke.rs.saiku.server.rest.resources.OlapDiscoverResource
All Implemented Interfaces:
Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

public class OlapDiscoverResource extends Object implements Serializable
See Also:
  • Constructor Details

  • Method Details

    • getConnections

      public List<SaikuConnection> getConnections(String username)
      Returns the org.saiku.datasources available.
    • getConnections

      public List<SaikuConnection> getConnections(String username, String connectionName)
      Returns the org.saiku.datasources available.
    • refreshConnections

      public List<SaikuConnection> refreshConnections(String username)
      Refresh the Saiku connections.
      Returns:
      The existing connections.
    • refreshConnection

      public List<SaikuConnection> refreshConnection(String username, String connectionName)
      Refresh a specific connection by connection name.
    • getMetadata

      public SaikuCubeMetadata getMetadata(String username, String connectionName, String catalogName, String schemaName, String cubeName)
      Get Cube Metadata
      Parameters:
      connectionName - The connection name
      catalogName - The catalog name
      schemaName - The schema name
      cubeName - The cube name
      Returns:
      A metadata object.
    • getDimensions

      public List<SaikuDimension> getDimensions(String username, String connectionName, String catalogName, String schemaName, String cubeName)
      Get the dimensions from a cube.
      Parameters:
      connectionName - The connection name.
      catalogName - The catalog name.
      schemaName - The schema name.
      cubeName - The cube name.
      Returns:
      A list of Dimensions.
    • getDimension

      public SaikuDimension getDimension(String username, String connectionName, String catalogName, String schemaName, String cubeName, String dimensionName)
      Get a dimension from cube
    • getDimensionHierarchies

      public List<SaikuHierarchy> getDimensionHierarchies(String username, String connectionName, String catalogName, String schemaName, String cubeName, String dimensionName)
      Get hierarchies from a dimension.
    • getHierarchy

      public List<SaikuLevel> getHierarchy(String username, String connectionName, String catalogName, String schemaName, String cubeName, String dimensionName, String hierarchyName)
      Get a hierarchy
    • getLevelMembers

      public List<SimpleCubeElement> getLevelMembers(String username, String connectionName, String catalogName, String schemaName, String cubeName, String dimensionName, String hierarchyName, String levelName)
      Get level information.
    • getRootMembers

      public List<SaikuMember> getRootMembers(String username, String connectionName, String catalogName, String schemaName, String cubeName, String hierarchyName)
      Get root member of that hierarchy.
      Parameters:
      connectionName - The connection name
      catalogName - The catalog name
      schemaName - The schema name
      cubeName - The cube name
      hierarchyName - The hierarchy name
      Returns:
      A list of Saiku members
    • getCubeHierarchies

      public List<SaikuHierarchy> getCubeHierarchies(String username, String connectionName, String catalogName, String schemaName, String cubeName)
      Get Cube Hierachy Information
    • getCubeMeasures

      public List<SaikuMember> getCubeMeasures(String username, String connectionName, String catalogName, String schemaName, String cubeName)
      Get Cube Measure Information
    • getMember

      public SaikuMember getMember(String username, String connectionName, String catalogName, String schemaName, String cubeName, String memberName)
      Get all info for given member
    • getMemberChildren

      public List<SaikuMember> getMemberChildren(String username, String connectionName, String catalogName, String schemaName, String cubeName, String memberName)
      Get child members of given member.