-
public interface ExecutionContext
GraphQL execution context to support partial results.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasPartialResultsException()
Whether an exception was set on this context.Throwable
partialResultsException()
Retrieve partial resultsThrowable
.void
partialResultsException(Throwable throwable)
Add a partial resultsThrowable
.
-
-
-
Method Detail
-
partialResultsException
void partialResultsException(Throwable throwable)
Add a partial resultsThrowable
.- Parameters:
throwable
-Throwable
-
partialResultsException
Throwable partialResultsException()
Retrieve partial resultsThrowable
.- Returns:
- the
Throwable
-
hasPartialResultsException
boolean hasPartialResultsException()
Whether an exception was set on this context.- Returns:
- true if there was a partial results exception
-
-