org.apache.lens.server.api.query
Class QueryFailed

java.lang.Object
  extended by org.apache.lens.server.api.events.LensEvent
      extended by org.apache.lens.server.api.query.QueryEvent<QueryStatus.Status>
          extended by org.apache.lens.server.api.query.StatusChange
              extended by org.apache.lens.server.api.query.QueryEnded
                  extended by org.apache.lens.server.api.query.QueryFailed

public class QueryFailed
extends QueryEnded

Event fired when a query fails to execute. Use getCause() to get the reason for failure.


Field Summary
 
Fields inherited from class org.apache.lens.server.api.query.QueryEnded
END_STATES
 
Constructor Summary
QueryFailed(long eventTime, QueryStatus.Status prev, QueryStatus.Status current, QueryHandle handle, String user, String cause)
          Instantiates a new query failed.
 
Method Summary
 
Methods inherited from class org.apache.lens.server.api.query.QueryEvent
getEventId, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryFailed

public QueryFailed(long eventTime,
                   QueryStatus.Status prev,
                   QueryStatus.Status current,
                   QueryHandle handle,
                   String user,
                   String cause)
Instantiates a new query failed.

Parameters:
eventTime - the event time
prev - the prev
current - the current
handle - the handle
user - the user
cause - the cause


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.