Class ApexCuboid
- java.lang.Object
-
- com.macrofocus.molap.aggregates.cuboid.AbstractCuboid
-
- com.macrofocus.molap.aggregates.cuboid.ApexCuboid
-
- All Implemented Interfaces:
Cuboid
public class ApexCuboid extends AbstractCuboid
The top-most cuboid, which holds the highest-level of summarization.
-
-
Field Summary
-
Fields inherited from class com.macrofocus.molap.aggregates.cuboid.AbstractCuboid
cube
-
-
Constructor Summary
Constructors Constructor Description ApexCuboid(InMemoryCube cube, Dimensions dimensions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cuboid
collapse()
Cuboid
dice(java.util.Set<java.lang.Object> valuesSets)
Filter on multiple values.Cuboid
drillDown(java.lang.Object... columns)
Add one level to the group by.Cuboid
drillUp()
Remove the last level from the group by.Cube
getCube()
Dimensions
getDimensions()
Group
getGroup()
java.lang.Iterable<Group>
getGroups()
int
getGroupsCount()
java.lang.Iterable<Group>
getGroupsStartingWith(Group group)
int
getGroupsStartingWithCount(Group group)
java.lang.Iterable<java.lang.Object>
getRows(Group group)
java.util.Set<java.lang.Object>
getValues()
Cuboid
slice(java.lang.Object values)
Filter on a single single values.-
Methods inherited from class com.macrofocus.molap.aggregates.cuboid.AbstractCuboid
build, getAggregate, getDistinct, getDistributiveStatistics, getUnivariateStatistics, isDirty, setDirty
-
-
-
-
Constructor Detail
-
ApexCuboid
public ApexCuboid(InMemoryCube cube, Dimensions dimensions)
-
-
Method Detail
-
drillDown
public Cuboid drillDown(java.lang.Object... columns)
Description copied from interface:Cuboid
Add one level to the group by.- Parameters:
columns
- the levels to add- Returns:
-
drillUp
public Cuboid drillUp()
Description copied from interface:Cuboid
Remove the last level from the group by.- Returns:
-
slice
public Cuboid slice(java.lang.Object values)
Description copied from interface:Cuboid
Filter on a single single values.- Returns:
-
dice
public Cuboid dice(java.util.Set<java.lang.Object> valuesSets)
Description copied from interface:Cuboid
Filter on multiple values.- Returns:
-
collapse
public Cuboid collapse()
-
getCube
public Cube getCube()
-
getDimensions
public Dimensions getDimensions()
-
getGroup
public Group getGroup()
-
getGroups
public java.lang.Iterable<Group> getGroups()
-
getGroupsStartingWithCount
public int getGroupsStartingWithCount(Group group)
-
getGroupsCount
public int getGroupsCount()
-
getValues
public java.util.Set<java.lang.Object> getValues()
-
getRows
public java.lang.Iterable<java.lang.Object> getRows(Group group)
-
-