final class BasicQuerySyntax[In, Out] extends AnyVal
- Alphabetic
- By Inheritance
- BasicQuerySyntax
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def distinct: QueryResult[In, Set[Out]]
Collects
this
query distinct output values into a scalaSet
Collects
this
query distinct output values into a scalaSet
- returns
a
QueryResult
producing aSet
- def exists(p: scalaql.Predicate[Out]): QueryResult[In, Boolean]
Checks whenever any output value of
this
query exist for which the given predicate holdsChecks whenever any output value of
this
query exist for which the given predicate holds- p
the predicate
- returns
true if matched value exists, otherwise false
- def find(p: scalaql.Predicate[Out]): QueryResult[In, Option[Out]]
Finds an output value of
this
query for which the given predicate holds (if exists)Finds an output value of
this
query for which the given predicate holds (if exists)- p
the predicate
- returns
matched value, if found
- def foreach(f: => (Out) => Unit): QueryResult[In, Unit]
Executes given side effecting function for each of
this
query output value.Executes given side effecting function for each of
this
query output value.- f
the side effect
- returns
the specified side effect executed
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toList: QueryResult[In, List[Out]]
Collects
this
query output values into a scalaList
Collects
this
query output values into a scalaList
- returns
a
QueryResult
producing aList
- def toMapBy[K](f: (Out) => K)(implicit arg0: scalaql.Tag[K], outTag: scalaql.Tag[Out]): QueryResult[In, Map[K, Out]]
Collects
this
query output values into a scalaMap
with the key computed based on the output value.Collects
this
query output values into a scalaMap
with the key computed based on the output value.- K
the key value
- f
the key extractor
- returns
a
QueryResult
producing aMap
- def toString(): String
- Definition Classes
- Any