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
thisquery distinct output values into a scalaSetCollects
thisquery distinct output values into a scalaSet- returns
a
QueryResultproducing aSet
- def exists(p: scalaql.Predicate[Out]): QueryResult[In, Boolean]
Checks whenever any output value of
thisquery exist for which the given predicate holdsChecks whenever any output value of
thisquery 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
thisquery for which the given predicate holds (if exists)Finds an output value of
thisquery 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
thisquery output value.Executes given side effecting function for each of
thisquery 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
thisquery output values into a scalaListCollects
thisquery output values into a scalaList- returns
a
QueryResultproducing aList
- def toMapBy[K](f: (Out) => K)(implicit arg0: scalaql.Tag[K], outTag: scalaql.Tag[Out]): QueryResult[In, Map[K, Out]]
Collects
thisquery output values into a scalaMapwith the key computed based on the output value.Collects
thisquery output values into a scalaMapwith the key computed based on the output value.- K
the key value
- f
the key extractor
- returns
a
QueryResultproducing aMap
- def toString(): String
- Definition Classes
- Any