Package mondrian.olap
Class DrillThrough
- java.lang.Object
-
- mondrian.olap.QueryPart
-
- mondrian.olap.DrillThrough
-
-
Constructor Summary
Constructors Constructor Description DrillThrough(Query query, int maxRowCount, int firstRowOrdinal, java.util.List<Exp> returnList)
Creates a DrillThrough.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]
getChildren()
Returns an array of the object's children.int
getFirstRowOrdinal()
int
getMaxRowCount()
Query
getQuery()
java.util.List<OlapElement>
getReturnList()
void
unparse(java.io.PrintWriter pw)
Writes a string representation of this parse tree node to the given writer.
-
-
-
Constructor Detail
-
DrillThrough
DrillThrough(Query query, int maxRowCount, int firstRowOrdinal, java.util.List<Exp> returnList)
Creates a DrillThrough.- Parameters:
query
- QuerymaxRowCount
- Maximum number of rows to return, or -1firstRowOrdinal
- Ordinal of first row to return, or -1returnList
- List of columns to return
-
-
Method Detail
-
unparse
public void unparse(java.io.PrintWriter pw)
Description copied from class:QueryPart
Writes a string representation of this parse tree node to the given writer.
-
getChildren
public java.lang.Object[] getChildren()
Description copied from interface:Walkable
Returns an array of the object's children. Those which are notWalkable
are ignored.- Specified by:
getChildren
in interfaceWalkable
- Overrides:
getChildren
in classQueryPart
-
getQuery
public Query getQuery()
-
getMaxRowCount
public int getMaxRowCount()
-
getFirstRowOrdinal
public int getFirstRowOrdinal()
-
getReturnList
public java.util.List<OlapElement> getReturnList()
-
-