|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.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)
Creates a RolapCell. |
|
| Method Summary | |
|---|---|
boolean |
canDrillThrough()
Returns whether it is possible to drill through this cell. |
static RolapCube |
chooseDrillThroughCube(Member[] currentMembers,
RolapCube defaultCube)
|
java.lang.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. |
java.util.List<java.lang.Integer> |
getCoordinateList()
Returns the coordinates of this Cell in its Result. |
int |
getDrillThroughCount()
Returns the number of fact table rows which contributed to this Cell. |
java.lang.String |
getDrillThroughSQL(boolean extendedContext)
Create an sql query that, when executed, will return the drill through data for this cell. |
java.lang.String |
getFormattedValue()
Returns the cell's value formatted according to the current format string, and locale-specific settings such as currency symbol. |
java.lang.Object |
getPropertyValue(java.lang.String propertyName)
Returns the value of a property. |
java.lang.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. |
void |
setValue(Scenario scenario,
java.lang.Object newValue,
AllocationPolicy allocationPolicy,
java.lang.Object... allocationArgs)
Helper method to implement Cell.setValue(java.lang.Object, org.olap4j.AllocationPolicy, java.lang.Object...). |
| 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)
result - Result cell belongs topos - Coordinates of cellci - Cell information, containing value et cetera| Method Detail |
|---|
public java.util.List<java.lang.Integer> getCoordinateList()
CellResult.
getCoordinateList in interface Cellpublic java.lang.Object getValue()
CellThe value is never null. It may have various types:
Util.nullValue;Throwable;BigDecimal,
Double, Integer and String.
getValue in interface Cellpublic java.lang.String getCachedFormatString()
Cell
getCachedFormatString in interface Cellpublic java.lang.String getFormattedValue()
CellFormat.
getFormattedValue in interface Cellpublic boolean isNull()
Cell
isNull in interface Cellpublic boolean isError()
Cell
isError in interface Cellpublic java.lang.String getDrillThroughSQL(boolean extendedContext)
getDrillThroughSQL in interface Cellpublic int getDrillThroughCount()
Cell
getDrillThroughCount in interface Cellpublic boolean canDrillThrough()
canDrillThrough in interface Cell
public static RolapCube chooseDrillThroughCube(Member[] currentMembers,
RolapCube defaultCube)
public java.lang.Object getPropertyValue(java.lang.String propertyName)
Cell
getPropertyValue in interface CellpropertyName - Case-sensitive property name
public Member getContextMember(Dimension dimension)
Cell
getContextMember in interface Cell
public void setValue(Scenario scenario,
java.lang.Object newValue,
AllocationPolicy allocationPolicy,
java.lang.Object... allocationArgs)
CellCell.setValue(java.lang.Object, org.olap4j.AllocationPolicy, java.lang.Object...).
setValue in interface Cellscenario - ScenarionewValue - New valueallocationPolicy - Allocation policyallocationArgs - Arguments for allocation policy
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||