Package mondrian.olap

Class DrillThrough

  • All Implemented Interfaces:
    Walkable

    public class DrillThrough
    extends QueryPart
    Drill through statement.
    Author:
    jhyde
    • Constructor Summary

      Constructors 
      Constructor Description
      DrillThrough​(Query query, int maxRowCount, int firstRowOrdinal, java.util.List<Exp> returnList)
      Creates a DrillThrough.
    • Constructor Detail

      • DrillThrough

        DrillThrough​(Query query,
                     int maxRowCount,
                     int firstRowOrdinal,
                     java.util.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​(java.io.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 java.lang.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 java.util.List<OlapElement> getReturnList()