org.apache.lens.server.api.query
Class QueryEnded
java.lang.Object
org.apache.lens.server.api.events.LensEvent
org.apache.lens.server.api.query.QueryEvent<QueryStatus.Status>
org.apache.lens.server.api.query.StatusChange
org.apache.lens.server.api.query.QueryEnded
- Direct Known Subclasses:
- QueryCancelled, QueryClosed, QueryFailed, QuerySuccess
public class QueryEnded
- extends StatusChange
Generic event denoting that query has ended. If a listener wants to just be notified when query has ended
irrespective of its success or failure, then that listener can subscribe for this event type
END_STATES
public static final EnumSet<QueryStatus.Status> END_STATES
- The Constant END_STATES.
QueryEnded
public QueryEnded(long eventTime,
QueryStatus.Status prev,
QueryStatus.Status current,
QueryHandle handle,
String user,
String cause)
- Instantiates a new query ended.
- Parameters:
eventTime
- the event timeprev
- the prevcurrent
- the currenthandle
- the handleuser
- the usercause
- the cause
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.