mondrian.olap
Class QueryPart

java.lang.Object
  extended by mondrian.olap.QueryPart
All Implemented Interfaces:
Walkable
Direct Known Subclasses:
CellProperty, ExpBase, Formula, MemberProperty, Query, QueryAxis

public abstract class QueryPart
extends Object
implements Walkable

Component of an MDX query (derived classes include Query, Axis, Exp, Level).

Author:
jhyde
 

Constructor Summary
QueryPart()
          Creates a QueryPart.
 
Method Summary
 Object[] getChildren()
          Returns an array of the object's children.
 void unparse(PrintWriter pw)
          Writes a string representation of this parse tree node to the given writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryPart

QueryPart()
Creates a QueryPart.

Method Detail

unparse

public void unparse(PrintWriter pw)
Writes a string representation of this parse tree node to the given writer.

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

SourceForge.net_Logo