| Constructor and Description | 
|---|
MondrianOlap4jCell(int[] coordinates,
                  MondrianOlap4jCellSet olap4jCellSet,
                  RolapCell cell)
Creates a MondrianOlap4jCell. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ResultSet | 
drillThrough()  | 
(package private) ResultSet | 
drillThroughInternal(int maxRowCount,
                    int firstRowOrdinal,
                    List<OlapElement> fields,
                    boolean extendedContext,
                    org.apache.log4j.Logger logger,
                    int[] rowCountSlot)
Executes drill-through on this cell. 
 | 
CellSet | 
getCellSet()  | 
List<Integer> | 
getCoordinateList()  | 
double | 
getDoubleValue()  | 
String | 
getErrorText()  | 
String | 
getFormattedValue()  | 
int | 
getOrdinal()  | 
Object | 
getPropertyValue(Property property)  | 
Object | 
getValue()  | 
boolean | 
isEmpty()  | 
boolean | 
isError()  | 
boolean | 
isNull()  | 
void | 
setValue(Object newValue,
        AllocationPolicy allocationPolicy,
        Object... allocationArgs)  | 
final RolapCell cell
MondrianOlap4jCell(int[] coordinates,
                   MondrianOlap4jCellSet olap4jCellSet,
                   RolapCell cell)
coordinates - Coordinatesolap4jCellSet - Cell setcell - Cell in native Mondrian representationpublic CellSet getCellSet()
getCellSet in interface Cellpublic int getOrdinal()
getOrdinal in interface Cellpublic List<Integer> getCoordinateList()
getCoordinateList in interface Cellpublic Object getPropertyValue(Property property)
getPropertyValue in interface Cellpublic double getDoubleValue()
                      throws OlapException
getDoubleValue in interface CellOlapExceptionpublic String getErrorText()
getErrorText in interface Cellpublic String getFormattedValue()
getFormattedValue in interface Cellpublic ResultSet drillThrough() throws OlapException
drillThrough in interface CellOlapExceptionResultSet drillThroughInternal(int maxRowCount, int firstRowOrdinal, List<OlapElement> fields, boolean extendedContext, org.apache.log4j.Logger logger, int[] rowCountSlot) throws OlapException
Not a part of the public API. Package-protected because this method also implements the DRILLTHROUGH statement.
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 fields to return, expressed as MDX
                          expressions.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 hererowCountSlot - Slot into which the number of fact rows is writtenOlapException - on errorpublic void setValue(Object newValue, AllocationPolicy allocationPolicy, Object... allocationArgs) throws OlapException
setValue in interface CellOlapException