sangria
.
execution
Executor
Related Doc:
package execution
case class
Executor
[
Ctx
,
Root
]
(
schema:
Schema
[
Ctx
,
Root
]
,
root:
Root
=
()
,
userContext:
Ctx
=
()
,
queryValidator:
QueryValidator
=
QueryValidator.default
,
deferredResolver:
DeferredResolver
=
DeferredResolver.empty
,
exceptionHandler:
PartialFunction
[(
ResultMarshaller
,
Throwable
),
Node
] =
PartialFunction.empty
,
deprecationTracker:
DeprecationTracker
=
DeprecationTracker.empty
)
(
implicit
executionContext:
ExecutionContext
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Executor
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
Executor
(
schema:
Schema
[
Ctx
,
Root
]
,
root:
Root
=
()
,
userContext:
Ctx
=
()
,
queryValidator:
QueryValidator
=
QueryValidator.default
,
deferredResolver:
DeferredResolver
=
DeferredResolver.empty
,
exceptionHandler:
PartialFunction
[(
ResultMarshaller
,
Throwable
),
Node
] =
PartialFunction.empty
,
deprecationTracker:
DeprecationTracker
=
DeprecationTracker.empty
)
(
implicit
executionContext:
ExecutionContext
)
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
deferredResolver
:
DeferredResolver
val
deprecationTracker
:
DeprecationTracker
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
exceptionHandler
:
PartialFunction
[(
ResultMarshaller
,
Throwable
),
Node
]
def
execute
[
Input
]
(
queryAst:
Document
,
operationName:
Option
[
String
] =
None
,
arguments:
Option
[
Input
] =
None
)
(
implicit
marshaller:
ResultMarshaller
,
um:
InputUnmarshaller
[
Input
]
)
:
Future
[
Node
]
def
executeOperation
(
operation:
OperationDefinition
,
sourceMapper:
Option
[
SourceMapper
]
,
valueCollector:
ValueCollector
[
Ctx
, _]
,
fieldCollector:
FieldCollector
[
Ctx
,
Root
]
,
marshaller:
ResultMarshaller
,
variables:
Map
[
String
,
Any
]
)
:
Try
[
Future
[
Node
] forSome {val resolver:
Resolver
[
Ctx
]}]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getOperation
(
document:
Document
,
operationName:
Option
[
String
]
)
:
Try
[
OperationDefinition
]
def
getOperationRootType
(
operation:
OperationDefinition
,
sourceMapper:
Option
[
SourceMapper
]
)
:
Product
with
Serializable
with
Try
[
ObjectType
[
Ctx
,
Root
]]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
queryValidator
:
QueryValidator
val
root
:
Root
val
schema
:
Schema
[
Ctx
,
Root
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
userContext
:
Ctx
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
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped