Class DrilledCuboid
- java.lang.Object
-
- com.macrofocus.molap.aggregates.cuboid.AbstractCuboid
-
- com.macrofocus.molap.aggregates.cuboid.DrilledCuboid
-
- All Implemented Interfaces:
Cuboid
public class DrilledCuboid extends AbstractCuboid
A child cuboid, in principle ultimately rooted on anApexCuboid
.- See Also:
ApexCuboid
-
-
Field Summary
-
Fields inherited from class com.macrofocus.molap.aggregates.cuboid.AbstractCuboid
cube
-
-
Constructor Summary
Constructors Constructor Description DrilledCuboid(Cube cube, Cuboid parent, Dimensions dimensions, Dice dice, Structure structure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
build()
protected java.util.Map<Group,gnu.trove.list.array.TIntArrayList>
buildRows()
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()
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 value)
Filter on a single single values.java.lang.String
toString()
-
Methods inherited from class com.macrofocus.molap.aggregates.cuboid.AbstractCuboid
getAggregate, getDistinct, getDistributiveStatistics, getUnivariateStatistics, isDirty, setDirty
-
-
-
-
Constructor Detail
-
DrilledCuboid
public DrilledCuboid(Cube cube, Cuboid parent, Dimensions dimensions, Dice dice, Structure structure)
-
-
Method Detail
-
build
protected void build()
- Overrides:
build
in classAbstractCuboid
-
buildRows
protected java.util.Map<Group,gnu.trove.list.array.TIntArrayList> buildRows()
-
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 value)
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()
-
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)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-