|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.rolap.RolapCell
class RolapCell
RolapCell
implements Cell
within a
RolapResult
.
Field Summary | |
---|---|
protected RolapResult.CellInfo |
ci
|
protected int[] |
pos
|
Constructor Summary | |
---|---|
RolapCell(RolapResult result,
int[] pos,
RolapResult.CellInfo ci)
|
Method Summary | |
---|---|
boolean |
canDrillThrough()
Returns whether it is possible to drill through this cell. |
static RolapCube |
chooseDrillThroughCube(Member[] currentMembers,
RolapCube defaultCube)
|
String |
getCachedFormatString()
Return the cached formatted string, that survives an aggregate cache clear |
Member |
getContextMember(Dimension dimension)
Returns the context member for a particular dimension. |
int |
getDrillThroughCount()
Returns the number of fact table rows which contributed to this Cell. |
String |
getDrillThroughSQL(boolean extendedContext)
Create an sql query that, when executed, will return the drill through data for this cell. |
String |
getFormattedValue()
Returns the cell's value formatted according to the current format string, and locale-specific settings such as currency symbol. |
Object |
getPropertyValue(String propertyName)
Returns the value of a property. |
Object |
getValue()
Returns the cell's raw value. |
boolean |
isError()
Returns whether the cell's calculation returned an error. |
boolean |
isNull()
Returns whether the cell's value is null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final int[] pos
protected RolapResult.CellInfo ci
Constructor Detail |
---|
RolapCell(RolapResult result, int[] pos, RolapResult.CellInfo ci)
Method Detail |
---|
public Object getValue()
Cell
The value is never null. It may have various types:
Util.nullValue
;Throwable
;BigDecimal
,
Double
, Integer
and String
.
getValue
in interface Cell
public String getCachedFormatString()
Cell
getCachedFormatString
in interface Cell
public String getFormattedValue()
Cell
Format
.
getFormattedValue
in interface Cell
public boolean isNull()
Cell
isNull
in interface Cell
public boolean isError()
Cell
isError
in interface Cell
public String getDrillThroughSQL(boolean extendedContext)
getDrillThroughSQL
in interface Cell
public int getDrillThroughCount()
Cell
getDrillThroughCount
in interface Cell
public boolean canDrillThrough()
canDrillThrough
in interface Cell
public static RolapCube chooseDrillThroughCube(Member[] currentMembers, RolapCube defaultCube)
public Object getPropertyValue(String propertyName)
Cell
getPropertyValue
in interface Cell
propertyName
- Case-sensitive property name
public Member getContextMember(Dimension dimension)
Cell
getContextMember
in interface Cell
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |