Packages

c

scalaql.syntax

BasicQuerySyntax

final class BasicQuerySyntax[In, Out] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BasicQuerySyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BasicQuerySyntax(self: Query[In, Out])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def distinct: QueryResult[In, Set[Out]]

    Collects this query distinct output values into a scala Set

    Collects this query distinct output values into a scala Set

    returns

    a QueryResult producing a Set

  6. def exists(p: scalaql.Predicate[Out]): QueryResult[In, Boolean]

    Checks whenever any output value of this query exist for which the given predicate holds

    Checks 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

  7. 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

  8. 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

  9. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def toList: QueryResult[In, List[Out]]

    Collects this query output values into a scala List

    Collects this query output values into a scala List

    returns

    a QueryResult producing a List

  12. 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 scala Map with the key computed based on the output value.

    Collects this query output values into a scala Map with the key computed based on the output value.

    K

    the key value

    f

    the key extractor

    returns

    a QueryResult producing a Map

  13. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped