Package mondrian.rolap
Class RolapResult.CellInfo
- java.lang.Object
-
- mondrian.rolap.RolapResult.CellInfo
-
- Enclosing class:
- RolapResult
static class RolapResult.CellInfo extends Object
A CellInfo contains all of the information that a Cell requires. It is placed in the cellInfos map during evaluation and serves as a constructor parameter forRolapCell.During the evaluation stage they are mutable but after evaluation has finished they are not changed.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) StringformatString(package private) longkey(package private) Objectvalue(package private) RolapResult.ValueFormattervalueFormatter
-
Constructor Summary
Constructors Constructor Description CellInfo(long key)Creates a CellInfo representing the position of a cell.CellInfo(long key, Object value, String formatString, RolapResult.ValueFormatter valueFormatter)Creates a CellInfo with position, value, format string and formatter of a cell.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)(package private) StringgetFormatValue()Returns the formatted value of the CellinthashCode()
-
-
-
Field Detail
-
value
Object value
-
formatString
String formatString
-
valueFormatter
RolapResult.ValueFormatter valueFormatter
-
key
long key
-
-
Constructor Detail
-
CellInfo
CellInfo(long key)
Creates a CellInfo representing the position of a cell.- Parameters:
key- Ordinal representing the position of a cell
-
CellInfo
CellInfo(long key, Object value, String formatString, RolapResult.ValueFormatter valueFormatter)Creates a CellInfo with position, value, format string and formatter of a cell.- Parameters:
key- Ordinal representing the position of a cellvalue- Value of cell, or null if not yet knownformatString- Format string of cell, or nullvalueFormatter- Formatter for cell, or null
-
-