Class RolapDimension

    • Method Detail

      • newHierarchy

        RolapHierarchy newHierarchy​(String subName,
                                    boolean hasAll,
                                    RolapHierarchy closureFor)
        Creates a hierarchy.
        Parameters:
        subName - Name of this hierarchy.
        hasAll - Whether hierarchy has an 'all' member
        closureFor - Hierarchy for which the new hierarchy is a closure; null for regular hierarchies
        Returns:
        Hierarchy
      • getHierarchy

        public Hierarchy getHierarchy()
        Returns the hierarchy of an expression.

        In this case, the expression is a dimension, so the hierarchy is the dimension's default hierarchy (its first).

        Specified by:
        getHierarchy in interface OlapElement
        Overrides:
        getHierarchy in class DimensionBase
      • getSchema

        public Schema getSchema()
        Description copied from interface: Dimension
        Returns the schema this dimension belongs to.
      • getAnnotationMap

        public Map<String,​Annotation> getAnnotationMap()
        Description copied from interface: Annotated
        Returns a list of annotations.

        The map may be empty, never null.

        Returns:
        Map from annotation name to annotations.