| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tonbeller.jpivot.olap.query.ResultBase
public abstract class ResultBase
base class for both Mondrian and XMLA result
| Field Summary | |
|---|---|
protected  java.util.List | 
aCells
 | 
protected  java.util.List | 
axesList
 | 
protected  Model | 
model
 | 
protected  Axis | 
slicer
 | 
| Constructor Summary | |
|---|---|
ResultBase(Model model)
 | 
|
| Method Summary | |
|---|---|
 void | 
accept(Visitor visitor)
 | 
abstract  Axis[] | 
getAxes()
return the axes  | 
 java.util.List | 
getCells()
Returns the cells.  | 
 java.lang.Object | 
getRootDecoree()
returns the object that has been created by the olap server.  | 
 Axis | 
getSlicer()
Returns the slicer.  | 
 void | 
hierarchize(int iAxis)
perform hierarchize not resorting siblings under parent this method is not fully tested we cannot use Result hierarchize, because by Quax navigation the prerequisits are not given Example (Customers Products): if by Quax navigation (CA, Drink) USA.children is split into {OR, WA) * Drink {CA} * { Drink + Drink.Children) CA would then come later in the result.  | 
 boolean | 
isOverflowOccured()
 | 
 void | 
printOut(java.io.PrintStream ps)
print Result to print stream  | 
static void | 
renderHtml(Result result,
           java.lang.String mdx,
           java.lang.String outfile)
Render Test Output to HTML  | 
 void | 
setOverflowOccured(boolean overflow)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected java.util.List axesList
protected java.util.List aCells
protected Axis slicer
protected Model model
| Constructor Detail | 
|---|
public ResultBase(Model model)
| Method Detail | 
|---|
public abstract Axis[] getAxes()
Result
getAxes in interface ResultResult.getAxes()public Axis getSlicer()
getSlicer in interface ResultResult.getSlicer()public java.util.List getCells()
getCells in interface ResultResult.getCells()public void hierarchize(int iAxis)
public java.lang.Object getRootDecoree()
Decorator
getRootDecoree in interface DecoratorDecorator.getRootDecoree()public void accept(Visitor visitor)
accept in interface VisitableVisitable.accept(com.tonbeller.jpivot.olap.model.Visitor)
public static void renderHtml(Result result,
                              java.lang.String mdx,
                              java.lang.String outfile)
                       throws java.io.IOException
java.io.IOExceptionpublic void printOut(java.io.PrintStream ps)
ps - Output Print Streampublic boolean isOverflowOccured()
isOverflowOccured in interface Resultpublic void setOverflowOccured(boolean overflow)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||