Home > @activeviam/activeui-sdk > MdxHierarchiesApi
MdxHierarchiesApi interface
Contains all the logic for hierarchies transformations.
Signature:
export interface MdxHierarchiesApi
Properties
Property | Type | Description |
---|---|---|
addHierarchy | (snd: StatementAndDiscovery, hierarchyCoordinates: HierarchyCoordinates, axisName: AxisName, position?: number) => StatementAndDiscovery | |
addHierarchyNode | (snd: StatementAndDiscovery, hierarchy: ExpressionNode, coordinates: HierarchyCoordinates, axis: AxisName, position?: number, nonEmptyAxis?: boolean, axisProperties?: MdxNode[]) => StatementAndDiscovery | |
addHierarchyOrNamedSetNode | (snd: StatementAndDiscovery, hierarchyOrNS: ExpressionNode, coordinates: HierarchyCoordinates, axis: AxisName, dimensionalityRetriever: DimensionalityRetrieverFunction, position?: number, nonEmptyAxis?: boolean, axisProperties?: MdxNode[]) => StatementAndDiscovery | |
changeAxis | (snd: StatementAndDiscovery, fromAxis: AxisName, toAxis: AxisName, hierarchyCoordinates: HierarchyCoordinates, position: number) => StatementAndDiscovery | |
dimensionalityRetriever | (snd: StatementAndDiscovery) => DimensionalityRetrieverFunction | |
findHierarchyPositionIndex | (snd: StatementAndDiscovery, hierarchyCoordinates: HierarchyCoordinates, axisName: AxisName) => number | |
isSameHierarchy | (leftNode: NodeWithHierarchy | HierarchyCoordinates, rightNode: NodeWithHierarchy | HierarchyCoordinates) => boolean | |
removeHierarchy | (snd: StatementAndDiscovery, hierarchyCoordinates: HierarchyCoordinates, axisName?: AxisName, shouldRemoveAssociatedCalculatedMembers?: boolean) => StatementAndDiscovery | |
removeHierarchyOnAxis | (snd: StatementAndDiscovery, hierarchyCoordinates: HierarchyCoordinates, axisName: AxisName) => StatementAndDiscovery | |
reorder | (snd: StatementAndDiscovery, axisName: AxisName, hierarchyCoordinates: HierarchyCoordinates, position: number) => StatementAndDiscovery | |
sameHierarchyTester | (hierarchyCoordinates: HierarchyCoordinates) => (a: HierarchyCoordinates) => boolean | |
toCoordinates | (hierarchyUniqueName: HierarchyUniqueName) => HierarchyCoordinates | |
toUniqueName | (hierarchyCoordinates: HierarchyCoordinates) => MemberUniqueName |