c

edu.gemini.grackle

InputObjectType

case class InputObjectType(name: String, description: Option[String], inputFields: List[InputValue]) extends Type with NamedType with Product with Serializable

Input objects are composite types used as inputs into queries defined as a list of named input values.

See also

https://facebook.github.io/graphql/draft/#sec-Input-Object

Linear Supertypes
Serializable, Product, Equals, NamedType, Type, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InputObjectType
  2. Serializable
  3. Product
  4. Equals
  5. NamedType
  6. Type
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InputObjectType(name: String, description: Option[String], inputFields: List[InputValue])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def <:<(other: Type): Boolean

    true if this type is a subtype of other.

    true if this type is a subtype of other.

    Definition Classes
    Type
  4. def =:=(other: Type): Boolean

    Is this type equivalent to other.

    Is this type equivalent to other.

    Note that plain == will distinguish types from type aliases, which is typically not desirable, so =:= is usually the most appropriate comparison operator.

    Definition Classes
    Type
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asLeaf: Type

    If the underlying type of this type is a scalar or an enum then yield it otherwise yield NoType.

    If the underlying type of this type is a scalar or an enum then yield it otherwise yield NoType.

    Definition Classes
    Type
  8. def asNamed: Option[NamedType]
    Definition Classes
    NamedTypeType
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. def dealias: NamedType

    Strip off aliases

    Strip off aliases

    Definition Classes
    NamedTypeType
  11. val description: Option[String]
    Definition Classes
    InputObjectTypeNamedType
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def exists: Boolean

    true if a non-TypeRef or a TypeRef to a defined type

    true if a non-TypeRef or a TypeRef to a defined type

    Definition Classes
    Type
  14. def field(fieldName: String): Type

    Yield the type of the field of this type named fieldName or NoType if there is no such field.

    Yield the type of the field of this type named fieldName or NoType if there is no such field.

    Definition Classes
    Type
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hasField(fieldName: String): Boolean

    true if this type has a field named fieldName, false otherwise.

    true if this type has a field named fieldName, false otherwise.

    Definition Classes
    Type
  17. def inputFieldInfo(name: String): Option[InputValue]
  18. val inputFields: List[InputValue]
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isInterface: Boolean
    Definition Classes
    Type
  21. def isLeaf: Boolean

    Is this type a leaf type?

    Is this type a leaf type?

    true if after stripping of aliases the underlying type a scalar or an enum, false otherwise.

    Definition Classes
    Type
  22. def isList: Boolean

    Is this type a list.

    Is this type a list.

    Definition Classes
    Type
  23. def isNamed: Boolean
    Definition Classes
    NamedTypeType
  24. def isNullable: Boolean

    Is this type nullable?

    Is this type nullable?

    Definition Classes
    Type
  25. def item: Type

    The element type of this type.

    The element type of this type.

    If this type is is a list, yield the non-list underlying type. Otherwise yield NoType.

    Definition Classes
    Type
  26. def list: Type

    This type if it is a (nullable) list, ListType(this) otherwise.

    This type if it is a (nullable) list, ListType(this) otherwise.

    Definition Classes
    Type
  27. val name: String

    The name of this type

    The name of this type

    Definition Classes
    InputObjectTypeNamedType
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def nominal_=:=(other: Type): Boolean
    Definition Classes
    Type
  30. def nonNull: Type

    A non-nullable version of this type.

    A non-nullable version of this type.

    If this type is nullable, yield the non-nullable underlying type. Otherwise yield this type.

    Definition Classes
    Type
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def nullable: Type

    This type if it is nullable, Nullable(this) otherwise.

    This type if it is nullable, Nullable(this) otherwise.

    Definition Classes
    Type
  34. def orElse(other: => Type): Type

    This type if it isn't NoType, other otherwise.

    This type if it isn't NoType, other otherwise.

    Definition Classes
    Type
  35. def path(fns: List[String]): Type

    Yield the type of the field at the end of the path fns starting from this type, or NoType if there is no such field.

    Yield the type of the field at the end of the path fns starting from this type, or NoType if there is no such field.

    Definition Classes
    Type
  36. def pathIsList(fns: List[String]): Boolean

    Does the path fns from this type specify multiple values.

    Does the path fns from this type specify multiple values.

    true if navigating through the path fns from this type might specify 0 or more values. This will be the case if the path passes through at least one field of a List type.

    Definition Classes
    Type
  37. def pathIsNullable(fns: List[String]): Boolean

    Does the path fns from this type specify a nullable type.

    Does the path fns from this type specify a nullable type.

    true if navigating through the path fns from this type might specify an optional value. This will be the case if the path passes through at least one field of a nullable type.

    Definition Classes
    Type
  38. def productElementNames: Iterator[String]
    Definition Classes
    Product
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toOption: Option[Type]

    Some of this type if it isn't NoType, None otherwise.

    Some of this type if it isn't NoType, None otherwise.

    Definition Classes
    Type
  41. def toString(): String
    Definition Classes
    NamedType → AnyRef → Any
  42. def underlyingField(fieldName: String): Type

    Yield the type of the field named fieldName of the object type underlying this type.

    Yield the type of the field named fieldName of the object type underlying this type.

    Strip off all aliases, nullability and enclosing list types until an underlying object type is reached which has a field named fieldName, in which case yield the type of that field; if there is no such field, yields NoType.

    Definition Classes
    Type
  43. def underlyingObject: Type

    Yield the object type underlying this type.

    Yield the object type underlying this type.

    Strip off all aliases, nullability and enclosing list types until an underlying object type is reached, in which case yield it, or a non-object type which isn't further reducible is reached, in which case yield NoType.

    Definition Classes
    Type
  44. def variantField(fieldName: String): Boolean

    true if this type has a field named fieldName which is undefined in some interface it implements

    true if this type has a field named fieldName which is undefined in some interface it implements

    Definition Classes
    Type
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. def withField[T](fieldName: String)(body: (Type) => Result[T]): Result[T]
    Definition Classes
    Type
  49. def withUnderlyingField[T](fieldName: String)(body: (Type) => Result[T]): Result[T]
    Definition Classes
    Type

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from NamedType

Inherited from Type

Inherited from AnyRef

Inherited from Any

Ungrouped