org.apache.lens.server.api.query
Class QueryFailed
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
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.
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 timeprev
- the prevcurrent
- the currenthandle
- the handleuser
- the usercause
- the cause
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.