Package graphql.incremental
Class IncrementalExecutionResultImpl.Builder
- java.lang.Object
-
- graphql.ExecutionResultImpl.Builder<IncrementalExecutionResultImpl.Builder>
-
- graphql.incremental.IncrementalExecutionResultImpl.Builder
-
- All Implemented Interfaces:
ExecutionResult.Builder<IncrementalExecutionResultImpl.Builder>
- Enclosing class:
- IncrementalExecutionResultImpl
public static class IncrementalExecutionResultImpl.Builder extends ExecutionResultImpl.Builder<IncrementalExecutionResultImpl.Builder>
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<IncrementalPayload>
incremental
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IncrementalExecutionResult
build()
IncrementalExecutionResultImpl.Builder
from(IncrementalExecutionResult incrementalExecutionResult)
IncrementalExecutionResultImpl.Builder
hasNext(boolean hasNext)
IncrementalExecutionResultImpl.Builder
incremental(java.util.List<IncrementalPayload> incremental)
IncrementalExecutionResultImpl.Builder
incrementalItemPublisher(org.reactivestreams.Publisher<DelayedIncrementalPartialResult> incrementalItemPublisher)
-
Methods inherited from class graphql.ExecutionResultImpl.Builder
addError, addErrors, addExtension, data, errors, extensions, from
-
-
-
-
Field Detail
-
incremental
public java.util.List<IncrementalPayload> incremental
-
-
Method Detail
-
hasNext
public IncrementalExecutionResultImpl.Builder hasNext(boolean hasNext)
-
incremental
public IncrementalExecutionResultImpl.Builder incremental(java.util.List<IncrementalPayload> incremental)
-
incrementalItemPublisher
public IncrementalExecutionResultImpl.Builder incrementalItemPublisher(org.reactivestreams.Publisher<DelayedIncrementalPartialResult> incrementalItemPublisher)
-
from
public IncrementalExecutionResultImpl.Builder from(IncrementalExecutionResult incrementalExecutionResult)
-
build
public IncrementalExecutionResult build()
- Specified by:
build
in interfaceExecutionResult.Builder<IncrementalExecutionResultImpl.Builder>
- Overrides:
build
in classExecutionResultImpl.Builder<IncrementalExecutionResultImpl.Builder>
- Returns:
- a newly built
ExecutionResult
-
-