@PublicApi public class DeferredExecutionResultImpl extends ExecutionResultImpl implements DeferredExecutionResult
Modifier and Type | Class and Description |
---|---|
static class |
DeferredExecutionResultImpl.Builder |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
getPath() |
static DeferredExecutionResultImpl.Builder |
newDeferredExecutionResult() |
java.util.Map<java.lang.String,java.lang.Object> |
toSpecification()
The graphql specification says that result of a call should be a map that follows certain rules on what items
should be present.
|
getData, getErrors, getExtensions, isDataPresent, newExecutionResult, toString, transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getData, getErrors, getExtensions, isDataPresent
public java.util.List<java.lang.Object> getPath()
getPath
in interface DeferredExecutionResult
public java.util.Map<java.lang.String,java.lang.Object> toSpecification()
ExecutionResult
ExecutionResult
to spec, so this method
is provided to produce a map that strictly follows the specification.
See : http://facebook.github.io/graphql/#sec-Response-FormattoSpecification
in interface ExecutionResult
toSpecification
in class ExecutionResultImpl
public static DeferredExecutionResultImpl.Builder newDeferredExecutionResult()