presto-main/src/main/java/io/prestosql/execution/QueryStateMachine.java/QueryStateMachine/getStateChange
class QueryStateMachine:    public ListenableFuture<QueryState> getStateChange(QueryState currentState)
    {
        return queryState.getStateChange(currentState);
    }