| Modifier and Type | Field and Description | 
|---|---|
protected mondrian.rolap.RolapResult.CellInfo | 
ci  | 
protected int[] | 
pos  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canDrillThrough()
Returns whether it is possible to drill through this cell. 
 | 
static RolapCube | 
chooseDrillThroughCube(Member[] currentMembers,
                      RolapCube defaultCube)  | 
SqlStatement | 
drillThroughInternal(int maxRowCount,
                    int firstRowOrdinal,
                    List<OlapElement> fields,
                    boolean extendedContext,
                    org.apache.log4j.Logger logger)
Generates an executes a SQL statement to drill through this cell. 
 | 
String | 
getCachedFormatString()
Return the cached formatted string, that survives an aggregate cache
 clear. 
 | 
Member | 
getContextMember(Hierarchy hierarchy)
Returns the context member for a particular dimension. 
 | 
List<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. 
 | 
String | 
getDrillThroughSQL(boolean extendedContext)
Returns a SQL query that, when executed, returns drill through data
 for this Cell. 
 | 
String | 
getDrillThroughSQL(List<OlapElement> fields,
                  boolean extendedContext)  | 
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. 
 | 
void | 
setValue(org.olap4j.Scenario scenario,
        Object newValue,
        org.olap4j.AllocationPolicy allocationPolicy,
        Object... allocationArgs)
Helper method to implement  
Cell.setValue(java.lang.Object, org.olap4j.AllocationPolicy, java.lang.Object...). | 
public List<Integer> getCoordinateList()
CellResult.getCoordinateList in interface Cellpublic Object getValue()
CellThe value is never null. It may have various types:
Util.nullValue;Throwable;BigDecimal,
       Double, Integer and String.public String getCachedFormatString()
CellgetCachedFormatString in interface Cellpublic String getFormattedValue()
CellFormat.getFormattedValue in interface Cellpublic boolean isNull()
Cellpublic boolean isError()
Cellpublic String getDrillThroughSQL(boolean extendedContext)
CellIf the parameter extendedContext is true, then the query will
 include all the levels (i.e. columns) of non-constraining members
 (i.e. members which are at the "All" level).
 
If the parameter extendedContext is false, the query will
 exclude the levels (coulmns) of non-constraining members.
 
The result is null if the cell is based upon a calculated member.
getDrillThroughSQL in interface Cellpublic String getDrillThroughSQL(List<OlapElement> fields, boolean extendedContext)
public int getDrillThroughCount()
CellgetDrillThroughCount in interface Cellpublic boolean canDrillThrough()
canDrillThrough in interface Cellpublic static RolapCube chooseDrillThroughCube(Member[] currentMembers, RolapCube defaultCube)
public SqlStatement drillThroughInternal(int maxRowCount, int firstRowOrdinal, List<OlapElement> fields, boolean extendedContext, org.apache.log4j.Logger logger)
Throws if this cell is not drillable.
Enforces limits on the starting and last row.
If tabFields is not null, returns the specified columns. (This option is deprecated.)
maxRowCount - Maximum number of rows to retrieve, <= 0 if unlimitedfirstRowOrdinal - Ordinal of row to skip to (1-based), or 0 to
   start from beginningfields - List of field expressions to return as the
                          result set columns.extendedContext - If true, add non-constraining columns to the
                          query for levels below each current member.
                          This additional context makes the drill-through
                          queries easier for humans to understand.logger - Logger. If not null and debug is enabled, log SQL herepublic Object getPropertyValue(String propertyName)
CellgetPropertyValue in interface CellpropertyName - Case-sensitive property namepublic Member getContextMember(Hierarchy hierarchy)
CellgetContextMember in interface Cellhierarchy - HierarchyCopyright © 2017 Hitachi Vantara. All rights reserved.