Mike Personick created TINKERPOP-2783:
-----------------------------------------

             Summary: Add an "evaluationTimeoutBehavior" token to complement 
"evaluationTimeout"
                 Key: TINKERPOP-2783
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2783
             Project: TinkerPop
          Issue Type: Improvement
          Components: language
    Affects Versions: 3.7.0
            Reporter: Mike Personick
            Assignee: Mike Personick


Currently, "evaluationTimeout" has implied "error" semantics - providers only 
have one choice for how to handle the timeout - return an error to the caller. 
We would like to add another choice of timeout semantics - return partial 
results to the caller, whatever can be calculated before the timeout. This 
would be very useful for pathfinding queries - just calculate whatever paths 
you can within some time limit.

Add another token "evaluationTimeoutBehavior", that lets providers define 
custom semantics for what happens at timeout. "Error" being the default, but 
allowing for other possibilities, such as "PartialResults".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to