sangria
.
schema
Schema
Related Docs:
object Schema
|
package schema
case class
Schema
[
Ctx
,
Val
]
(
query:
ObjectType
[
Ctx
,
Val
]
,
mutation:
Option
[
ObjectType
[
Ctx
,
Val
]] =
None
,
subscription:
Option
[
ObjectType
[
Ctx
,
Val
]] =
None
,
additionalTypes:
List
[
Type
with
Named
] =
Nil
,
description:
Option
[
String
] =
None
,
directives:
List
[
Directive
] =
BuiltinDirectives
,
validationRules:
List
[
SchemaValidationRule
] =
SchemaValidationRule.default
,
astDirectives:
Vector
[
ast.Directive
] =
Vector.empty
,
astNodes:
Vector
[
AstNode
] =
Vector.empty
)
extends
HasAstInfo
with
HasDescription
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
HasDescription
,
HasAstInfo
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Schema
Serializable
Serializable
Product
Equals
HasDescription
HasAstInfo
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Schema
(
query:
ObjectType
[
Ctx
,
Val
]
,
mutation:
Option
[
ObjectType
[
Ctx
,
Val
]] =
None
,
subscription:
Option
[
ObjectType
[
Ctx
,
Val
]] =
None
,
additionalTypes:
List
[
Type
with
Named
] =
Nil
,
description:
Option
[
String
] =
None
,
directives:
List
[
Directive
] =
BuiltinDirectives
,
validationRules:
List
[
SchemaValidationRule
] =
SchemaValidationRule.default
,
astDirectives:
Vector
[
ast.Directive
] =
Vector.empty
,
astNodes:
Vector
[
AstNode
] =
Vector.empty
)
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
additionalTypes
:
List
[
Type
with
Named
]
lazy val
allTypes
:
Map
[
String
,
Type
with
Named
]
def
analyzer
(
query:
Document
)
:
SchemaBasedDocumentAnalyzer
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
astDirectives
:
Vector
[
ast.Directive
]
Definition Classes
Schema
→
HasAstInfo
val
astNodes
:
Vector
[
AstNode
]
Definition Classes
Schema
→
HasAstInfo
lazy val
availableTypeNames
:
Vector
[
String
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
@throws
(
...
)
def
compare
(
oldSchema:
Schema
[_, _]
)
:
Vector
[
SchemaChange
]
val
description
:
Option
[
String
]
Definition Classes
Schema
→
HasDescription
lazy val
directImplementations
:
Map
[
String
,
Vector
[
ObjectLikeType
[_, _]]]
val
directives
:
List
[
Directive
]
lazy val
directivesByName
:
Map
[
String
,
Directive
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
extend
(
document:
Document
,
builder:
AstSchemaBuilder
[
Ctx
] =
AstSchemaBuilder.default[Ctx]
)
:
Schema
[
Ctx
,
Val
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
Annotations
@HotSpotIntrinsicCandidate
()
def
getInputType
(
tpe:
IntrospectionTypeRef
)
:
Option
[
InputType
[_]]
def
getInputType
(
tpe:
ast.Type
)
:
Option
[
InputType
[_]]
def
getOutputType
(
tpe:
ast.Type
,
topLevel:
Boolean
=
false
)
:
Option
[
OutputType
[_]]
lazy val
implementations
:
Map
[
String
,
Vector
[
ObjectType
[_, _]]]
lazy val
inputTypes
:
Map
[
String
,
Type
with
Named
with
InputType
[
Any
]]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isPossibleType
(
baseTypeName:
String
,
tpe:
ObjectType
[_, _]
)
:
Boolean
val
mutation
:
Option
[
ObjectType
[
Ctx
,
Val
]]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
lazy val
outputTypes
:
Map
[
String
,
Type
with
Named
with
OutputType
[
Any
]]
lazy val
possibleTypes
:
Map
[
String
,
Vector
[
ObjectType
[_, _]]]
val
query
:
ObjectType
[
Ctx
,
Val
]
def
renderCompact
(
filter:
SchemaFilter
)
:
String
def
renderCompact
:
String
def
renderPretty
(
filter:
SchemaFilter
)
:
String
def
renderPretty
:
String
lazy val
scalarTypes
:
Iterable
[(
String
,
ScalarType
[
_
]) forSome {type _}]
val
subscription
:
Option
[
ObjectType
[
Ctx
,
Val
]]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toAst
(
filter:
SchemaFilter
)
:
Document
lazy val
toAst
:
Document
lazy val
typeList
:
Vector
[
Type
with
Named
]
lazy val
types
:
Map
[
String
, (
Int
,
Type
with
Named
)]
lazy val
unionTypes
:
Map
[
String
,
UnionType
[_]]
val
validationRules
:
List
[
SchemaValidationRule
]
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Deprecated Value Members
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@Deprecated
@deprecated
@throws
(
classOf[java.lang.Throwable]
)
Deprecated
(Since version )
see corresponding Javadoc for more information.
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
HasDescription
Inherited from
HasAstInfo
Inherited from
AnyRef
Inherited from
Any
Ungrouped