Packages

case class EmptyCursor(context: Context, parent: Option[Cursor], env: Env) extends AbstractCursor with Product with Serializable

Empty Cursor with no content

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EmptyCursor
  2. Serializable
  3. Product
  4. Equals
  5. AbstractCursor
  6. Cursor
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EmptyCursor(context: Context, parent: Option[Cursor], env: Env)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def as[T](implicit arg0: ClassTag[T]): Result[T]

    Yield the value at this Cursor as a value of type T if possible, an error or the left hand side otherwise.

    Yield the value at this Cursor as a value of type T if possible, an error or the left hand side otherwise.

    Definition Classes
    Cursor
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asLeaf: Result[Json]

    Yield the value at this Cursor rendered as Json if it is of a scalar or enum type, an error or the left hand side otherwise.

    Yield the value at this Cursor rendered as Json if it is of a scalar or enum type, an error or the left hand side otherwise.

    Definition Classes
    AbstractCursorCursor
  7. def asList[C](factory: Factory[Cursor, C]): Result[C]

    Yield a collection of Cursors corresponding to the elements of the value at this Cursor if it is of a list type, or an error or the left hand side otherwise.

    Yield a collection of Cursors corresponding to the elements of the value at this Cursor if it is of a list type, or an error or the left hand side otherwise.

    Definition Classes
    AbstractCursorCursor
  8. final def asList: Result[List[Cursor]]

    Yield a list of Cursors corresponding to the elements of the value at this Cursor if it is of a list type, or an error or the left hand side otherwise.

    Yield a list of Cursors corresponding to the elements of the value at this Cursor if it is of a list type, or an error or the left hand side otherwise.

    Definition Classes
    Cursor
  9. def asNullable: Result[Option[Cursor]]

    Yield an optional Cursors corresponding to the value at this Cursor if it is of a nullable type, or an error on the left hand side otherwise.

    Yield an optional Cursors corresponding to the value at this Cursor if it is of a nullable type, or an error on the left hand side otherwise. The resulting Cursor will be present iff the current value is present in the model.

    Definition Classes
    AbstractCursorCursor
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. val context: Context

    The Context associated with this Cursor.

    The Context associated with this Cursor.

    Definition Classes
    EmptyCursorCursor
  12. def env[T](nme: String)(implicit arg0: ClassTag[T]): Option[T]

    Yields the value of the supplied environment key, if any.

    Yields the value of the supplied environment key, if any.

    Definition Classes
    Cursor
  13. val env: Env
    Definition Classes
    EmptyCursorCursor
  14. def envContains(nme: String): Boolean
    Definition Classes
    Cursor
  15. def envR[T](nme: String)(implicit arg0: ClassTag[T], arg1: TypeName[T]): Result[T]

    Yields the value of the supplied environment key, if any, or an error if none.

    Yields the value of the supplied environment key, if any, or an error if none.

    Definition Classes
    Cursor
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def field(fieldName: String, resultName: Option[String]): Result[Cursor]

    Yield a Cursor corresponding to the value of the field fieldName of the value at this Cursor, or an error on the left hand side if there is no such field.

    Yield a Cursor corresponding to the value of the field fieldName of the value at this Cursor, or an error on the left hand side if there is no such field.

    Definition Classes
    AbstractCursorCursor
  18. def fieldAs[T](fieldName: String)(implicit arg0: ClassTag[T]): Result[T]

    Yield the value of the field fieldName of this Cursor as a value of type T if possible, an error or the left hand side otherwise.

    Yield the value of the field fieldName of this Cursor as a value of type T if possible, an error or the left hand side otherwise.

    Definition Classes
    Cursor
  19. def flatListPath(fns: List[String]): Result[List[Cursor]]

    Yield a list of Cursors corresponding to the values generated by following the path fns from the value at this Cursor, or an error on the left hand side if there is no such path.

    Yield a list of Cursors corresponding to the values generated by following the path fns from the value at this Cursor, or an error on the left hand side if there is no such path. If the field at the end of the path is a list then yield the concatenation of the lists of cursors corresponding to the field elements.

    Definition Classes
    Cursor
  20. def focus: Any

    The value at the position represented by this Cursor.

    The value at the position represented by this Cursor.

    Definition Classes
    EmptyCursorCursor
  21. def fullEnv: Env

    Yields the cumulative environment defined at this Cursor.

    Yields the cumulative environment defined at this Cursor.

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

    Does the value at this Cursor have a field named fieldName?

    Does the value at this Cursor have a field named fieldName?

    Definition Classes
    AbstractCursorCursor
  24. def hasListPath(fns: List[String]): Boolean

    Does the value at this Cursor generate a list along the path fns?

    Does the value at this Cursor generate a list along the path fns?

    true if fns is a valid path from the value at this Cursor and passes through at least one field with a list type.

    Definition Classes
    Cursor
  25. def hasPath(fns: List[String]): Boolean

    Does the value at this Cursor have a field identified by the path fns?

    Does the value at this Cursor have a field identified by the path fns?

    Definition Classes
    Cursor
  26. def isDefined: Result[Boolean]

    Yields whether or not this Cursor is defined if it is of a nullable type, or an error otherwise.

    Yields whether or not this Cursor is defined if it is of a nullable type, or an error otherwise.

    Definition Classes
    AbstractCursorCursor
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isLeaf: Boolean

    Is the value at this Cursor of a scalar or enum type?

    Is the value at this Cursor of a scalar or enum type?

    Definition Classes
    AbstractCursorCursor
  29. def isList: Boolean

    Is the value at this Cursor of a list type?

    Is the value at this Cursor of a list type?

    Definition Classes
    AbstractCursorCursor
  30. def isNull: Boolean

    True if this cursor is nullable and null, false otherwise.

    True if this cursor is nullable and null, false otherwise.

    Definition Classes
    Cursor
  31. def isNullable: Boolean

    Is the value at this Cursor of a nullable type?

    Is the value at this Cursor of a nullable type?

    Definition Classes
    AbstractCursorCursor
  32. def listPath(fns: List[String]): Result[List[Cursor]]

    Yield a list of Cursors corresponding to the values generated by following the path fns from the value at this Cursor, or an error on the left hand side if there is no such path.

    Yield a list of Cursors corresponding to the values generated by following the path fns from the value at this Cursor, or an error on the left hand side if there is no such path.

    Definition Classes
    Cursor
  33. def listSize: Result[Int]

    Yields the number of elements of this Cursor if it is of a list type, or an error otherwise.

    Yields the number of elements of this Cursor if it is of a list type, or an error otherwise.

    Definition Classes
    AbstractCursorCursor
  34. def narrow(subtpe: TypeRef): Result[Cursor]

    Yield a Cursor corresponding to the value at this Cursor narrowed to type subtpe, or an error on the left hand side if such a narrowing is not possible.

    Yield a Cursor corresponding to the value at this Cursor narrowed to type subtpe, or an error on the left hand side if such a narrowing is not possible.

    Definition Classes
    AbstractCursorCursor
  35. def narrowsTo(subtpe: TypeRef): Boolean

    Is the value at this Cursor narrowable to subtpe?

    Is the value at this Cursor narrowable to subtpe?

    Definition Classes
    AbstractCursorCursor
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. def nullableField(fieldName: String): Result[Cursor]

    Yield a Cursor corresponding to the value of the possibly nullable field fieldName of the value at this Cursor, or an error on the left hand side if there is no such field.

    Yield a Cursor corresponding to the value of the possibly nullable field fieldName of the value at this Cursor, or an error on the left hand side if there is no such field.

    Definition Classes
    Cursor
  40. def nullableHasField(fieldName: String): Boolean

    Does the possibly nullable value at this Cursor have a field named fieldName?

    Does the possibly nullable value at this Cursor have a field named fieldName?

    Definition Classes
    Cursor
  41. val parent: Option[Cursor]

    The parent of this Cursor

    The parent of this Cursor

    Definition Classes
    EmptyCursorCursor
  42. def path(fns: List[String]): Result[Cursor]

    Yield a Cursor corresponding to the value of the field identified by path fns starting from the value at this Cursor, or an error on the left hand side if there is no such field.

    Yield a Cursor corresponding to the value of the field identified by path fns starting from the value at this Cursor, or an error on the left hand side if there is no such field.

    Definition Classes
    Cursor
  43. def path: List[String]

    The selection path from the root

    The selection path from the root

    Definition Classes
    Cursor
  44. def preunique: Result[Cursor]

    Yield a Cursor which can be used to evaluate the antecedant of a Unique operation.

    Yield a Cursor which can be used to evaluate the antecedant of a Unique operation.

    Definition Classes
    AbstractCursorCursor
  45. def productElementNames: Iterator[String]
    Definition Classes
    Product
  46. def resultPath: List[String]

    The selection path from the root modified by query aliases.

    The selection path from the root modified by query aliases.

    Definition Classes
    Cursor
  47. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  48. def tpe: Type

    The GraphQL type of the value at the position represented by this Cursor.

    The GraphQL type of the value at the position represented by this Cursor.

    Definition Classes
    Cursor
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. def withEnv(env0: Env): EmptyCursor

    Yields a copy of this Cursor with the supplied additional environment values.

    Yields a copy of this Cursor with the supplied additional environment values.

    Definition Classes
    EmptyCursorCursor

Deprecated Value Members

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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AbstractCursor

Inherited from Cursor

Inherited from AnyRef

Inherited from Any

Ungrouped