Class

org.scalarelational.instruction

Query

Related Doc: package instruction

Permalink

case class Query[Types, Result](expressions: SelectExpressions[Types], table: Table, joins: List[Join] = Nil, whereCondition: Option[Condition] = None, grouping: List[SelectExpression[_]] = Nil, ordering: List[OrderBy[_]] = Nil, resultLimit: Int = 1, resultOffset: Int = 1, converter: (QueryResult) ⇒ Result, alias: Option[String] = None, fetchSize: Int = Datastore.DefaultFetchSize) extends WhereSupport[Query[Types, Result]] with Joinable with JoinSupport[Types, Result] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, JoinSupport[Types, Result], Joinable, WhereSupport[Query[Types, Result]], SQLStatement, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Query
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. JoinSupport
  7. Joinable
  8. WhereSupport
  9. SQLStatement
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Query(expressions: SelectExpressions[Types], table: Table, joins: List[Join] = Nil, whereCondition: Option[Condition] = None, grouping: List[SelectExpression[_]] = Nil, ordering: List[OrderBy[_]] = Nil, resultLimit: Int = 1, resultOffset: Int = 1, converter: (QueryResult) ⇒ Result, alias: Option[String] = None, fetchSize: Int = Datastore.DefaultFetchSize)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val alias: Option[String]

    Permalink
  5. def and(condition: Condition): Query[Types, Result]

    Permalink
    Definition Classes
    WhereSupport
  6. def apply[T, S](column: ColumnLike[T, S]): ColumnAlias[T, S]

    Permalink
  7. def as(alias: String): Query[Types, Result]

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def async: Future[QueryResultsIterator[Types, Result]]

    Permalink
  10. def batchSize(size: Int): Query[Types, Result]

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def convert[NewResult](converter: (QueryResult) ⇒ NewResult): Query[Types, NewResult]

    Permalink
  13. def converted(implicit session: Session): EnhancedIterator[Result]

    Permalink
  14. val converter: (QueryResult) ⇒ Result

    Permalink
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. val expressions: SelectExpressions[Types]

    Permalink
  17. val fetchSize: Int

    Permalink
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def groupBy(expressions: SelectExpression[_]*): Query[Types, Result]

    Permalink
  21. val grouping: List[SelectExpression[_]]

    Permalink
  22. def innerJoin(joinable: Joinable): PartialJoin[Types, Result]

    Permalink
    Definition Classes
    JoinSupport
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def join(joinable: Joinable, joinType: JoinType = JoinType.Join): PartialJoin[Types, Result]

    Permalink
    Definition Classes
    JoinSupport
  25. val joins: List[Join]

    Permalink
  26. def leftJoin(joinable: Joinable): PartialJoin[Types, Result]

    Permalink
    Definition Classes
    JoinSupport
  27. def leftOuterJoin(joinable: Joinable): PartialJoin[Types, Result]

    Permalink
    Definition Classes
    JoinSupport
  28. def limit(value: Int): Query[Types, Result]

    Permalink
  29. def map[NewResult](converter: (Result) ⇒ NewResult): Query[Types, NewResult]

    Permalink
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def offset(value: Int): Query[Types, Result]

    Permalink
  34. def or(condition: Condition): Query[Types, Result]

    Permalink
    Definition Classes
    WhereSupport
  35. def orderBy(entries: OrderBy[_]*): Query[Types, Result]

    Permalink
  36. val ordering: List[OrderBy[_]]

    Permalink
  37. def result(implicit session: Session): QueryResultsIterator[Types, Result]

    Permalink
  38. val resultLimit: Int

    Permalink
  39. val resultOffset: Int

    Permalink
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. val table: Table

    Permalink
  42. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def where(condition: Condition): Query[Types, Result]

    Permalink
    Definition Classes
    QueryWhereSupport
  46. def where(condition: Condition, connectType: ConnectType): Query[Types, Result]

    Permalink
    Definition Classes
    WhereSupport
  47. val whereCondition: Option[Condition]

    Permalink
    Definition Classes
    QueryWhereSupport

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from JoinSupport[Types, Result]

Inherited from Joinable

Inherited from WhereSupport[Query[Types, Result]]

Inherited from SQLStatement

Inherited from AnyRef

Inherited from Any

Ungrouped