Class

org.coursera.naptime.ari.graphql

SangriaGraphQlSchemaBuilder

Related Doc: package graphql

Permalink

class SangriaGraphQlSchemaBuilder extends StrictLogging

Linear Supertypes
StrictLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SangriaGraphQlSchemaBuilder
  2. StrictLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SangriaGraphQlSchemaBuilder(resources: Set[Resource], schemas: Map[String, RecordDataSchema])

    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 PAGINATION_ARGUMENT_NAMES: List[String]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def formatResourceName(resource: Resource): String

    Permalink

    Converts a resource name to a GraphQL compatible name.

    Converts a resource name to a GraphQL compatible name. (i.e. 'courses.v1' to 'CoursesV1')

    resource

    Naptime resource

    returns

    GraphQL-safe resource name

  11. def formatResourceTopLevelName(resource: Resource): String

    Permalink

    Converts a resource to a GraphQL top-level name.

    Converts a resource to a GraphQL top-level name. (i.e. 'courses.v1' to 'CoursesV1Resource')

    resource

    Naptime resource

    returns

    GraphQL-safe top-level resource name

  12. def generateGetHandler(resource: Resource, handler: Handler): Field[SangriaGraphQlContext, DataMap]

    Permalink
  13. def generateHandlerArguments(handler: Handler): List[Argument[Any]]

    Permalink
  14. def generateListHandler(resource: Resource, handler: Handler): Field[SangriaGraphQlContext, DataMap]

    Permalink
  15. def generateLookupTypeForResource(resourceName: String): Option[ObjectType[SangriaGraphQlContext, DataMap]]

    Permalink

    Generates an object-type for a given resource name, with each field on the merged output schema available on this object-type.

    Generates an object-type for a given resource name, with each field on the merged output schema available on this object-type.

    resourceName

    String name of the resource (i.e. 'courses.v1')

    returns

    ObjectType for the resource

  16. def generateSchema(): Schema[SangriaGraphQlContext, DataMap]

    Permalink

    Generates a GraphQL schema for the provided set of resources to this class Returns a "root" object that has one field available for each Naptime Resource provided.*

    Generates a GraphQL schema for the provided set of resources to this class Returns a "root" object that has one field available for each Naptime Resource provided.*

    returns

    a Sangria GraphQL Schema with all resources defined

  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging
  21. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def scalaTypeToFromInput(typeName: String): FromInput[Any]

    Permalink
  25. def scalaTypeToSangria(typeName: String): InputType[Any]

    Permalink
  26. val schemaMetadata: SchemaMetadata

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

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

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

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

Inherited from StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped