org.apache.lens.api.query
Class QueryStatus
java.lang.Object
org.apache.lens.api.query.QueryStatus
- All Implemented Interfaces:
- Serializable
public class QueryStatus
- extends Object
- implements Serializable
The Class QueryStatus.
- See Also:
- Serialized Form
QueryStatus
public QueryStatus()
toString
public String toString()
- Overrides:
toString
in class Object
isFinished
public boolean isFinished()
isValidTransition
public static boolean isValidTransition(QueryStatus.Status oldState,
QueryStatus.Status newState)
- Checks if is valid transition.
- Parameters:
oldState
- the old statenewState
- the new state
- Returns:
- true, if is valid transition
isValidateTransition
public boolean isValidateTransition(QueryStatus.Status newState)
- Checks if is validate transition.
- Parameters:
newState
- the new state
- Returns:
- true, if is validate transition
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.