public class RolapResult extends ResultBase
RolapResult
is the result of running a query.Modifier and Type | Class and Description |
---|---|
class |
RolapResult.CompoundSlicerRolapMember
Member which holds the AggregateCalc used when evaluating
a compound slicer.
|
protected static class |
RolapResult.RolapResultEvaluatorRoot
Extension to
RolapEvaluatorRoot which is capable
of evaluating sets and named sets.
A given set is only evaluated once each time a query is executed; the
result is added to the RolapResult.RolapResultEvaluatorRoot.namedSetEvaluators cache on first execution
and re-used. |
Modifier and Type | Field and Description |
---|---|
protected static Map<Locale,mondrian.rolap.RolapResult.ValueFormatter> |
formatValueFormatters
Synchronized Map from Locale to ValueFormatter.
|
axes, execution, query, slicerAxis, statement
Modifier and Type | Method and Description |
---|---|
void |
close() |
Axis[] |
getAxes()
Returns the non-slicer axes.
|
Cell |
getCell(int[] pos)
Get the Cell for the given Cell position.
|
RolapCube |
getCube() |
Execution |
getExecution() |
protected org.apache.log4j.Logger |
getLogger() |
protected void |
loadMembers(List<List<Member>> nonAllMembers,
RolapEvaluator evaluator,
QueryAxis axis,
Calc calc,
mondrian.rolap.RolapResult.AxisMemberList axisMembers) |
protected void |
loadSpecialMembers(List<Member> nonDefaultAllMembers,
List<List<Member>> nonAllMembers,
List<Member> measureMembers)
Finds all root Members 1) whose Hierarchy does not have an ALL
Member, 2) whose default Member is not the ALL Member and 3)
all Measures.
|
protected void |
makeModulos()
Instantiates the calculator to convert cell coordinates to a cell ordinal
and vice versa.
|
protected boolean |
removeDimension(Dimension dimension,
List<List<Member>> memberLists) |
protected boolean |
replaceNonAllMembers(List<List<Member>> nonAllMembers,
mondrian.rolap.RolapResult.AxisMemberList axisMembers) |
getMember, getQuery, getSlicerAxis, print
public void close()
close
in interface Result
close
in class ResultBase
protected boolean removeDimension(Dimension dimension, List<List<Member>> memberLists)
public final Execution getExecution()
protected boolean replaceNonAllMembers(List<List<Member>> nonAllMembers, mondrian.rolap.RolapResult.AxisMemberList axisMembers)
protected void loadMembers(List<List<Member>> nonAllMembers, RolapEvaluator evaluator, QueryAxis axis, Calc calc, mondrian.rolap.RolapResult.AxisMemberList axisMembers)
protected void loadSpecialMembers(List<Member> nonDefaultAllMembers, List<List<Member>> nonAllMembers, List<Member> measureMembers)
nonDefaultAllMembers
- List of all root Members for Hierarchies
whose default Member is not the ALL Member.nonAllMembers
- List of root Members for Hierarchies that have no
ALL Member.measureMembers
- List all Measuresprotected org.apache.log4j.Logger getLogger()
getLogger
in class ResultBase
public final RolapCube getCube()
public Axis[] getAxes()
Result
getAxes
in interface Result
getAxes
in class ResultBase
public Cell getCell(int[] pos)
pos
- Cell position.protected void makeModulos()
To create the calculator, any axis that is based upon an Iterable is converted into a List - thus increasing memory usage.
Copyright © 2018 Hitachi Vantara. All rights reserved.