Class DimensionConditionHandle


  • public class DimensionConditionHandle
    extends StructureHandle
    Represents the handle of the cube-dimension/hierarchy join condition.

    Primary Keys
    Primary keys define a list of primary key to do the join actions between cube and hierarchy in dimension. Each one in the list must be one of the data set column in data set defined in cube.
    Hierarchy
    Hierarchy refers a hierarchy element in one of the dimension in the cube.
    • Constructor Detail

      • DimensionConditionHandle

        public DimensionConditionHandle​(SimpleValueHandle valueHandle,
                                        int index)
        Constructs the handle of the cube join condition.
        Parameters:
        valueHandle - the value handle for the cube join condition list of one property
        index - the position of this join condition in the list
    • Method Detail

      • getJoinConditions

        public MemberHandle getJoinConditions()
        Gets the member handle to deal with all the DimensionJoinCondition.
        Returns:
        the member handle for all the DimensionJoinCondition
      • removeJoinCondition

        public void removeJoinCondition​(int index)
                                 throws SemanticException
        Remove the join condition in the specified position.
        Parameters:
        index - the position where the join condition resides
        Throws:
        SemanticException
      • getHierarchy

        public HierarchyHandle getHierarchy()
        Gets the referred hierarchy handle of this condition.
        Returns:
        hierarchy handle of this condition if found, otherwise null
      • getHierarchyName

        public java.lang.String getHierarchyName()
        Gets the referred hierarchy name of this condition.
        Returns:
        hierarchy name of this condition if set, otherwise null
      • setHierarchy

        public void setHierarchy​(java.lang.String hierarchyName)
                          throws SemanticException
        Sets the referred hierarchy by the name.
        Parameters:
        hierarchyName - the hierarchy name to set
        Throws:
        SemanticException