sangria
.
schema
ObjectType
Related Docs:
object ObjectType
|
package schema
case class
ObjectType
[
Ctx
,
Val
]
(
name:
String
,
description:
Option
[
String
]
,
fieldsFn: () ⇒
List
[
Field
[
Ctx
,
Val
]]
,
interfaces:
List
[
InterfaceType
[
Ctx
, _]]
,
instanceCheck: (
Any
,
Class
[_],
ObjectType
[
Ctx
,
Val
]) ⇒
Boolean
,
astDirectives:
Vector
[
ast.Directive
]
)
(
implicit
evidence$1:
ClassTag
[
Val
]
)
extends
ObjectLikeType
[
Ctx
,
Val
] with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
ObjectLikeType
[
Ctx
,
Val
],
UnmodifiedType
,
NullableType
,
CompositeType
[
Val
],
Named
,
OutputType
[
Val
],
Type
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
ObjectType
Serializable
Serializable
Product
Equals
ObjectLikeType
UnmodifiedType
NullableType
CompositeType
Named
OutputType
Type
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
ObjectType
(
name:
String
,
description:
Option
[
String
]
,
fieldsFn: () ⇒
List
[
Field
[
Ctx
,
Val
]]
,
interfaces:
List
[
InterfaceType
[
Ctx
, _]]
,
instanceCheck: (
Any
,
Class
[_],
ObjectType
[
Ctx
,
Val
]) ⇒
Boolean
,
astDirectives:
Vector
[
ast.Directive
]
)
(
implicit
arg0:
ClassTag
[
Val
]
)
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
lazy val
allInterfaces
:
Vector
[
InterfaceType
[
Ctx
, _]]
Definition Classes
ObjectLikeType
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
astDirectives
:
Vector
[
ast.Directive
]
Definition Classes
ObjectType
→
ObjectLikeType
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
description
:
Option
[
String
]
Definition Classes
ObjectType
→
Named
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
lazy val
fields
:
Vector
[
Field
[
Ctx
, _]]
Definition Classes
ObjectLikeType
lazy val
fieldsByName
:
Map
[
String
,
Vector
[
Field
[
Ctx
, _]]]
Definition Classes
ObjectLikeType
val
fieldsFn
: () ⇒
List
[
Field
[
Ctx
,
Val
]]
Definition Classes
ObjectType
→
ObjectLikeType
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
getField
(
schema:
Schema
[_, _]
,
fieldName:
String
)
:
Vector
[
Field
[
Ctx
, _]]
Definition Classes
ObjectLikeType
val
instanceCheck
: (
Any
,
Class
[_],
ObjectType
[
Ctx
,
Val
]) ⇒
Boolean
val
interfaces
:
List
[
InterfaceType
[
Ctx
, _]]
Definition Classes
ObjectType
→
ObjectLikeType
def
isInstanceOf
(
value:
Any
)
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
name
:
String
Definition Classes
ObjectType
→
Named
def
namedType
:
Type
with
Named
Definition Classes
Type
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
lazy val
ownFields
:
Vector
[
Field
[
Ctx
,
Val
]]
Definition Classes
ObjectLikeType
def
removeDuplicates
[
T
,
E
]
(
list:
Vector
[
T
]
,
valueFn: (
T
) ⇒
E
)
:
Vector
[
T
]
Definition Classes
ObjectLikeType
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
lazy val
uniqueFields
:
Vector
[
Field
[
Ctx
, _]]
Definition Classes
ObjectLikeType
lazy val
valClass
:
Class
[_]
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
(
...
)
def
withInstanceCheck
(
fn: (
Any
,
Class
[_],
ObjectType
[
Ctx
,
Val
]) ⇒
Boolean
)
:
ObjectType
[
Ctx
,
Val
]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
ObjectLikeType
[
Ctx
,
Val
]
Inherited from
UnmodifiedType
Inherited from
NullableType
Inherited from
CompositeType
[
Val
]
Inherited from
Named
Inherited from
OutputType
[
Val
]
Inherited from
Type
Inherited from
AnyRef
Inherited from
Any
Ungrouped