Class/Object

sangria.schema

Schema

Related Docs: object Schema | package schema

Permalink

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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Schema
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HasDescription
  7. HasAstInfo
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val additionalTypes: List[Type with Named]

    Permalink
  5. lazy val allTypes: Map[String, Type with Named]

    Permalink
  6. def analyzer(query: Document): SchemaBasedDocumentAnalyzer

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val astDirectives: Vector[ast.Directive]

    Permalink
    Definition Classes
    SchemaHasAstInfo
  9. val astNodes: Vector[AstNode]

    Permalink
    Definition Classes
    SchemaHasAstInfo
  10. lazy val availableTypeNames: Vector[String]

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  12. def compare(oldSchema: Schema[_, _]): Vector[SchemaChange]

    Permalink
  13. val description: Option[String]

    Permalink
    Definition Classes
    SchemaHasDescription
  14. lazy val directImplementations: Map[String, Vector[ObjectLikeType[_, _]]]

    Permalink
  15. val directives: List[Directive]

    Permalink
  16. lazy val directivesByName: Map[String, Directive]

    Permalink
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def extend(document: Document, builder: AstSchemaBuilder[Ctx] = AstSchemaBuilder.default[Ctx]): Schema[Ctx, Val]

    Permalink
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  20. def getInputType(tpe: IntrospectionTypeRef): Option[InputType[_]]

    Permalink
  21. def getInputType(tpe: ast.Type): Option[InputType[_]]

    Permalink
  22. def getOutputType(tpe: ast.Type, topLevel: Boolean = false): Option[OutputType[_]]

    Permalink
  23. lazy val implementations: Map[String, Vector[ObjectType[_, _]]]

    Permalink
  24. lazy val inputTypes: Map[String, Type with Named with InputType[Any]]

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def isPossibleType(baseTypeName: String, tpe: ObjectType[_, _]): Boolean

    Permalink
  27. val mutation: Option[ObjectType[Ctx, Val]]

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. lazy val outputTypes: Map[String, Type with Named with OutputType[Any]]

    Permalink
  32. lazy val possibleTypes: Map[String, Vector[ObjectType[_, _]]]

    Permalink
  33. val query: ObjectType[Ctx, Val]

    Permalink
  34. def renderCompact(filter: SchemaFilter): String

    Permalink
  35. def renderCompact: String

    Permalink
  36. def renderPretty(filter: SchemaFilter): String

    Permalink
  37. def renderPretty: String

    Permalink
  38. lazy val scalarTypes: Iterable[(String, ScalarType[_]) forSome {type _}]

    Permalink
  39. val subscription: Option[ObjectType[Ctx, Val]]

    Permalink
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def toAst(filter: SchemaFilter): Document

    Permalink
  42. lazy val toAst: Document

    Permalink
  43. lazy val typeList: Vector[Type with Named]

    Permalink
  44. lazy val types: Map[String, (Int, Type with Named)]

    Permalink
  45. lazy val unionTypes: Map[String, UnionType[_]]

    Permalink
  46. val validationRules: List[SchemaValidationRule]

    Permalink
  47. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    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