sangria
.
execution
Executor
Related Docs:
object Executor
|
package execution
case class
Executor
[
Ctx
,
Root
]
(
schema:
Schema
[
Ctx
,
Root
]
,
queryValidator:
QueryValidator
=
QueryValidator.default
,
deferredResolver:
DeferredResolver
[
Ctx
] =
DeferredResolver.empty
,
exceptionHandler:
ExceptionHandler
=
PartialFunction.empty
,
deprecationTracker:
DeprecationTracker
=
DeprecationTracker.empty
,
middleware:
List
[
Middleware
[
Ctx
]] =
Nil
,
maxQueryDepth:
Option
[
Int
] =
None
,
queryReducers:
List
[
QueryReducer
[
Ctx
, _]] =
Nil
)
(
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
]
,
queryValidator:
QueryValidator
=
QueryValidator.default
,
deferredResolver:
DeferredResolver
[
Ctx
] =
DeferredResolver.empty
,
exceptionHandler:
ExceptionHandler
=
PartialFunction.empty
,
deprecationTracker:
DeprecationTracker
=
DeprecationTracker.empty
,
middleware:
List
[
Middleware
[
Ctx
]] =
Nil
,
maxQueryDepth:
Option
[
Int
] =
None
,
queryReducers:
List
[
QueryReducer
[
Ctx
, _]] =
Nil
)
(
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
[
Ctx
]
val
deprecationTracker
:
DeprecationTracker
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
exceptionHandler
:
ExceptionHandler
def
execute
[
Input
]
(
queryAst:
Document
,
userContext:
Ctx
,
root:
Root
,
operationName:
Option
[
String
] =
None
,
variables:
Input
=
emptyMapVars
)
(
implicit
marshaller:
ResultMarshaller
,
um:
InputUnmarshaller
[
Input
]
,
scheme:
ExecutionScheme
)
:
Result
[
Ctx
,
Node
]
def
executeOperation
[
Input
]
(
queryAst:
Document
,
operationName:
Option
[
String
] =
None
,
inputVariables:
Input
,
inputUnmarshaller:
InputUnmarshaller
[
Input
]
,
operation:
OperationDefinition
,
sourceMapper:
Option
[
SourceMapper
]
,
valueCollector:
ValueCollector
[
Ctx
, _]
,
fieldCollector:
FieldCollector
[
Ctx
,
Root
]
,
marshaller:
ResultMarshaller
,
variables:
Map
[
String
,
VariableValue
]
,
tpe:
ObjectType
[
Ctx
,
Root
]
,
fields:
CollectedFields
,
ctx:
Ctx
,
root:
Root
,
scheme:
ExecutionScheme
)
:
Result
[
Ctx
,
Node
]
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
val
maxQueryDepth
:
Option
[
Int
]
val
middleware
:
List
[
Middleware
[
Ctx
]]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
prepare
[
Input
]
(
queryAst:
Document
,
userContext:
Ctx
,
root:
Root
,
operationName:
Option
[
String
] =
None
,
variables:
Input
=
emptyMapVars
)
(
implicit
um:
InputUnmarshaller
[
Input
]
)
:
Future
[
PreparedQuery
[
Ctx
,
Root
,
Input
]]
val
queryReducers
:
List
[
QueryReducer
[
Ctx
, _]]
val
queryValidator
:
QueryValidator
val
schema
:
Schema
[
Ctx
,
Root
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
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