object BatchExecutor
EXPERIMENTAL
Batch query executor which provides following features:
- Allows specifying multiple
operationNameswhen executing a GraphQL query document. All operations would be executed in order inferred from the dependencies between queries. - Support for
@export(as: "foo")directive. This directive allows you to save the results of the query execution and then use it as a variable in a different query within the same document. This provides a way to define data dependencies between queries. - When used with
@exportdirective, the variables would be automatically inferred by the execution engine, so you don't need to declare them explicitly (though you can)
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BatchExecutor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val AsArg: Argument[String]
- val ExportDirective: Directive
- val OperationNameExtension: Middleware[Any]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
executeBatch[Ctx, Root, Input, T](schema: Schema[Ctx, Root], queryAst: Document, operationNames: Seq[String], userContext: Ctx = (), root: Root = (), variables: Input = emptyMapVars, queryValidator: QueryValidator = QueryValidator.default, deferredResolver: DeferredResolver[Ctx] = DeferredResolver.empty, exceptionHandler: ExceptionHandler = ExceptionHandler.empty, deprecationTracker: DeprecationTracker = DeprecationTracker.empty, middleware: List[Middleware[Ctx]] = Nil, maxQueryDepth: Option[Int] = None, queryReducers: List[QueryReducer[Ctx, _]] = Nil, inferVariableDefinitions: Boolean = true)(implicit executionContext: ExecutionContext, marshaller: SymmetricMarshaller[T], um: InputUnmarshaller[Input], scheme: ExecutionScheme): Result[Ctx, T]
EXPERIMENTAL
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()