case class DeferredCursor(context: Context, parent: Option[Cursor], env: Env, deferredPath: List[String], mkCursor: (Context, Cursor) => Result[Cursor]) extends AbstractCursor with Product with Serializable
- Alphabetic
- By Inheritance
- DeferredCursor
- Serializable
- Product
- Equals
- AbstractCursor
- Cursor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
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
- def as[T](implicit arg0: ClassTag[T]): Result[T]
Yield the value at this
Cursoras a value of typeTif possible, an error or the left hand side otherwise.Yield the value at this
Cursoras a value of typeTif possible, an error or the left hand side otherwise.- Definition Classes
- Cursor
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asLeaf: Result[Json]
Yield the value at this
Cursorrendered as Json if it is of a scalar or enum type, an error or the left hand side otherwise.Yield the value at this
Cursorrendered as Json if it is of a scalar or enum type, an error or the left hand side otherwise.- Definition Classes
- AbstractCursor → Cursor
- def asList[C](factory: Factory[Cursor, C]): Result[C]
Yield a collection of
Cursors corresponding to the elements of the value at thisCursorif 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 thisCursorif it is of a list type, or an error or the left hand side otherwise.- Definition Classes
- AbstractCursor → Cursor
- final def asList: Result[List[Cursor]]
Yield a list of
Cursors corresponding to the elements of the value at thisCursorif 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 thisCursorif it is of a list type, or an error or the left hand side otherwise.- Definition Classes
- Cursor
- def asNullable: Result[Option[Cursor]]
Yield an optional
Cursors corresponding to the value at thisCursorif it is of a nullable type, or an error on the left hand side otherwise.Yield an optional
Cursors corresponding to the value at thisCursorif it is of a nullable type, or an error on the left hand side otherwise. The resultingCursorwill be present iff the current value is present in the model.- Definition Classes
- AbstractCursor → Cursor
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val context: Context
The
Contextassociated with thisCursor.The
Contextassociated with thisCursor.- Definition Classes
- DeferredCursor → Cursor
- val deferredPath: List[String]
- 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
- val env: Env
- Definition Classes
- DeferredCursor → Cursor
- def envContains(nme: String): Boolean
- Definition Classes
- Cursor
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def field(fieldName: String, resultName: Option[String]): Result[Cursor]
Yield a
Cursorcorresponding to the value of the fieldfieldNameof the value at thisCursor, or an error on the left hand side if there is no such field.Yield a
Cursorcorresponding to the value of the fieldfieldNameof the value at thisCursor, or an error on the left hand side if there is no such field.- Definition Classes
- DeferredCursor → AbstractCursor → Cursor
- def fieldAs[T](fieldName: String)(implicit arg0: ClassTag[T]): Result[T]
Yield the value of the field
fieldNameof thisCursoras a value of typeTif possible, an error or the left hand side otherwise.Yield the value of the field
fieldNameof thisCursoras a value of typeTif possible, an error or the left hand side otherwise.- Definition Classes
- Cursor
- def flatListPath(fns: List[String]): Result[List[Cursor]]
Yield a list of
Cursors corresponding to the values generated by following the pathfnsfrom the value at thisCursor, 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 pathfnsfrom the value at thisCursor, 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
- def focus: Any
The value at the position represented by this
Cursor.The value at the position represented by this
Cursor.- Definition Classes
- DeferredCursor → Cursor
- def fullEnv: Env
Yields the cumulative environment defined at this
Cursor.Yields the cumulative environment defined at this
Cursor.- Definition Classes
- Cursor
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hasField(fieldName: String): Boolean
Does the value at this
Cursorhave a field namedfieldName?Does the value at this
Cursorhave a field namedfieldName?- Definition Classes
- DeferredCursor → AbstractCursor → Cursor
- def hasListPath(fns: List[String]): Boolean
Does the value at this
Cursorgenerate a list along the pathfns?Does the value at this
Cursorgenerate a list along the pathfns?trueiffnsis a valid path from the value at thisCursorand passes through at least one field with a list type.- Definition Classes
- Cursor
- def hasPath(fns: List[String]): Boolean
Does the value at this
Cursorhave a field identified by the pathfns?Does the value at this
Cursorhave a field identified by the pathfns?- Definition Classes
- Cursor
- def isDefined: Result[Boolean]
Yields whether or not this
Cursoris defined if it is of a nullable type, or an error otherwise.Yields whether or not this
Cursoris defined if it is of a nullable type, or an error otherwise.- Definition Classes
- AbstractCursor → Cursor
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLeaf: Boolean
Is the value at this
Cursorof a scalar or enum type?Is the value at this
Cursorof a scalar or enum type?- Definition Classes
- AbstractCursor → Cursor
- def isList: Boolean
Is the value at this
Cursorof a list type?Is the value at this
Cursorof a list type?- Definition Classes
- AbstractCursor → Cursor
- 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
- def isNullable: Boolean
Is the value at this
Cursorof a nullable type?Is the value at this
Cursorof a nullable type?- Definition Classes
- AbstractCursor → Cursor
- def listPath(fns: List[String]): Result[List[Cursor]]
Yield a list of
Cursors corresponding to the values generated by following the pathfnsfrom the value at thisCursor, 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 pathfnsfrom the value at thisCursor, or an error on the left hand side if there is no such path.- Definition Classes
- Cursor
- def listSize: Result[Int]
Yields the number of elements of this
Cursorif it is of a list type, or an error otherwise.Yields the number of elements of this
Cursorif it is of a list type, or an error otherwise.- Definition Classes
- AbstractCursor → Cursor
- val mkCursor: (Context, Cursor) => Result[Cursor]
- def narrow(subtpe: TypeRef): Result[Cursor]
Yield a
Cursorcorresponding to the value at thisCursornarrowed to typesubtpe, or an error on the left hand side if such a narrowing is not possible.Yield a
Cursorcorresponding to the value at thisCursornarrowed to typesubtpe, or an error on the left hand side if such a narrowing is not possible.- Definition Classes
- AbstractCursor → Cursor
- def narrowsTo(subtpe: TypeRef): Boolean
Is the value at this
Cursornarrowable tosubtpe?Is the value at this
Cursornarrowable tosubtpe?- Definition Classes
- AbstractCursor → Cursor
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def nullableField(fieldName: String): Result[Cursor]
Yield a
Cursorcorresponding to the value of the possibly nullable fieldfieldNameof the value at thisCursor, or an error on the left hand side if there is no such field.Yield a
Cursorcorresponding to the value of the possibly nullable fieldfieldNameof the value at thisCursor, or an error on the left hand side if there is no such field.- Definition Classes
- Cursor
- def nullableHasField(fieldName: String): Boolean
Does the possibly nullable value at this
Cursorhave a field namedfieldName?Does the possibly nullable value at this
Cursorhave a field namedfieldName?- Definition Classes
- Cursor
- val parent: Option[Cursor]
The parent of this
CursorThe parent of this
Cursor- Definition Classes
- DeferredCursor → Cursor
- def path(fns: List[String]): Result[Cursor]
Yield a
Cursorcorresponding to the value of the field identified by pathfnsstarting from the value at thisCursor, or an error on the left hand side if there is no such field.Yield a
Cursorcorresponding to the value of the field identified by pathfnsstarting from the value at thisCursor, or an error on the left hand side if there is no such field.- Definition Classes
- Cursor
- def path: List[String]
The selection path from the root
The selection path from the root
- Definition Classes
- Cursor
- def preunique: Result[Cursor]
Yield a
Cursorwhich can be used to evaluate the antecedant of aUniqueoperation.Yield a
Cursorwhich can be used to evaluate the antecedant of aUniqueoperation.- Definition Classes
- AbstractCursor → Cursor
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withEnv(env0: Env): DeferredCursor
Yields a copy of this
Cursorwith the supplied additional environment values.Yields a copy of this
Cursorwith the supplied additional environment values.- Definition Classes
- DeferredCursor → Cursor