mondrian.olap
Class DrillThrough

java.lang.Object
  extended by mondrian.olap.QueryPart
      extended by mondrian.olap.DrillThrough
All Implemented Interfaces:
Walkable

public class DrillThrough
extends QueryPart

Drill through statement.

Author:
jhyde

Constructor Summary
DrillThrough(Query query, int maxRowCount, int firstRowOrdinal, List<Exp> returnList)
          Creates a DrillThrough.
 
Method Summary
 Object[] getChildren()
          Returns an array of the object's children.
 int getFirstRowOrdinal()
           
 int getMaxRowCount()
           
 Query getQuery()
           
 List<Exp> getReturnList()
           
 void unparse(PrintWriter pw)
          Writes a string representation of this parse tree node to the given writer.
 
Methods inherited from class mondrian.olap.QueryPart
explain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrillThrough

DrillThrough(Query query,
             int maxRowCount,
             int firstRowOrdinal,
             List<Exp> returnList)
Creates a DrillThrough.

Parameters:
query - Query
maxRowCount - Maximum number of rows to return, or -1
firstRowOrdinal - Ordinal of first row to return, or -1
returnList - List of columns to return
Method Detail

unparse

public void unparse(PrintWriter pw)
Description copied from class: QueryPart
Writes a string representation of this parse tree node to the given writer.

Overrides:
unparse in class QueryPart
Parameters:
pw - writer

getChildren

public Object[] getChildren()
Description copied from interface: Walkable
Returns an array of the object's children. Those which are not Walkable are ignored.

Specified by:
getChildren in interface Walkable
Overrides:
getChildren in class QueryPart

getQuery

public Query getQuery()

getMaxRowCount

public int getMaxRowCount()

getFirstRowOrdinal

public int getFirstRowOrdinal()

getReturnList

public List<Exp> getReturnList()

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads