sealed trait SelectionBuilder[-Origin, +A] extends AnyRef
Represents a selection from parent type Origin
that returns a result of type A
.
- Self Type
- SelectionBuilder[Origin, A]
- Alphabetic
- By Inheritance
- SelectionBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
withAlias(alias: String): SelectionBuilder[Origin, A]
Use the given alias for this selection
-
abstract
def
withDirective(directive: Directive): SelectionBuilder[Origin, A]
Add the given directive to the selection
Concrete 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[B](f: (A) ⇒ B): SelectionBuilder[Origin, B]
Maps the result of this selection to a new type
B
-
def
mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W) ⇒ Res)(implicit ev: <:<[A, (((((((((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q), R), S), T), U), V), W)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 22 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V) ⇒ Res)(implicit ev: <:<[A, ((((((((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q), R), S), T), U), V)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 21 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U) ⇒ Res)(implicit ev: <:<[A, (((((((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q), R), S), T), U)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 20 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T) ⇒ Res)(implicit ev: <:<[A, ((((((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q), R), S), T)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 19 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S) ⇒ Res)(implicit ev: <:<[A, (((((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q), R), S)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 18 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R) ⇒ Res)(implicit ev: <:<[A, ((((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q), R)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 17 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q) ⇒ Res)(implicit ev: <:<[A, (((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P), Q)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 16 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) ⇒ Res)(implicit ev: <:<[A, ((((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O), P)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 15 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, O, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N, O) ⇒ Res)(implicit ev: <:<[A, (((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N), O)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 14 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, K, L, M, N, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M, N) ⇒ Res)(implicit ev: <:<[A, ((((((((((((B, C), D), E), F), G), H), I), J), K), L), M), N)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 13 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, K, L, M, Res](f: (B, C, D, E, F, G, H, I, J, K, L, M) ⇒ Res)(implicit ev: <:<[A, (((((((((((B, C), D), E), F), G), H), I), J), K), L), M)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 12 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, K, L, Res](f: (B, C, D, E, F, G, H, I, J, K, L) ⇒ Res)(implicit ev: <:<[A, ((((((((((B, C), D), E), F), G), H), I), J), K), L)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 11 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, K, Res](f: (B, C, D, E, F, G, H, I, J, K) ⇒ Res)(implicit ev: <:<[A, (((((((((B, C), D), E), F), G), H), I), J), K)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 10 parameters -
def
mapN[B, C, D, E, F, G, H, I, J, Res](f: (B, C, D, E, F, G, H, I, J) ⇒ Res)(implicit ev: <:<[A, ((((((((B, C), D), E), F), G), H), I), J)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 9 parameters -
def
mapN[B, C, D, E, F, G, H, I, Res](f: (B, C, D, E, F, G, H, I) ⇒ Res)(implicit ev: <:<[A, (((((((B, C), D), E), F), G), H), I)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 8 parameters -
def
mapN[B, C, D, E, F, G, H, Res](f: (B, C, D, E, F, G, H) ⇒ Res)(implicit ev: <:<[A, ((((((B, C), D), E), F), G), H)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 7 parameters -
def
mapN[B, C, D, E, F, G, Res](f: (B, C, D, E, F, G) ⇒ Res)(implicit ev: <:<[A, (((((B, C), D), E), F), G)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 6 parameters -
def
mapN[B, C, D, E, F, Res](f: (B, C, D, E, F) ⇒ Res)(implicit ev: <:<[A, ((((B, C), D), E), F)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 5 parameters -
def
mapN[B, C, D, E, Res](f: (B, C, D, E) ⇒ Res)(implicit ev: <:<[A, (((B, C), D), E)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 4 parameters -
def
mapN[B, C, D, Res](f: (B, C, D) ⇒ Res)(implicit ev: <:<[A, ((B, C), D)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 3 parameters -
def
mapN[B, C, Res](f: (B, C) ⇒ Res)(implicit ev: <:<[A, (B, C)]): SelectionBuilder[Origin, Res]
Maps a tupled result to a type
Res
using a functionf
with 2 parameters -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toGraphQL[A1 >: A, Origin1 <: Origin](useVariables: Boolean = false)(implicit ev: IsOperation[Origin1]): GraphQLRequest
Transforms a root selection into a GraphQL request.
Transforms a root selection into a GraphQL request.
- useVariables
if true, all arguments will be passed as variables (default: false)
-
def
toRequest[A1 >: A, Origin1 <: Origin](uri: Uri, useVariables: Boolean = false)(implicit ev: IsOperation[Origin1]): Request[Either[CalibanClientError, A1], Nothing]
Transforms a root selection into an STTP request ready to be run.
Transforms a root selection into an STTP request ready to be run.
- uri
the URL of the GraphQL server
- useVariables
if true, all arguments will be passed as variables (default: false)
- returns
an STTP request
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
~[Origin1 <: Origin, B](that: SelectionBuilder[Origin1, B]): SelectionBuilder[Origin1, (A, B)]
Combines this selection with another selection, returning a tuple of both results.
Combines this selection with another selection, returning a tuple of both results. To be combines, selections needs to have the same origin.