|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 Result
Result.getAxes()
public Axis getSlicer()
getSlicer
in interface Result
Result.getSlicer()
public java.util.List getCells()
getCells
in interface Result
Result.getCells()
public void hierarchize(int iAxis)
public java.lang.Object getRootDecoree()
Decorator
getRootDecoree
in interface Decorator
Decorator.getRootDecoree()
public void accept(Visitor visitor)
accept
in interface Visitable
Visitable.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.IOException
public void printOut(java.io.PrintStream ps)
ps
- Output Print Streampublic boolean isOverflowOccured()
isOverflowOccured
in interface Result
public void setOverflowOccured(boolean overflow)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |