Class QueryEvent

java.lang.Object
org.olap4j.query.QueryEvent

public final class QueryEvent extends Object
Describes which changes were performed to the query model.
Author:
Luc Boudreau
  • Method Details

    • getSource

      public org.olap4j.query.QueryNode getSource()
      Returns the object that generated this event.
    • getOperation

      public QueryEvent.Type getOperation()
      Returns the event type.
    • getChildrens

      public Map<Integer,org.olap4j.query.QueryNode> getChildrens()
      Returns a map of objects affected by the event and their index in the list of the source children.

      If the event is of type QueryEvent.Type.SELECTION_CHANGED, this method will return null because the source object was affected and not the children.