scala.dbc.statement
class Relation

[source: `scala/dbc/statement/Relation.scala`]

`abstract` `class` Relation
  `extends` Statement

  A statement that returns a relation.

Direct Known Subclasses:
  Expression, Jointure, Select, Table

Method Summary
`def` | execute (database : Database, debug : Boolean) : Relation
`def` | execute (database : Database) : Relation Executes the statement on the given database.
`abstract def` | fieldTypes : List[DataType]
`def` | isCompatibleType : (DataType, DataType) => Boolean
`abstract def` | sqlInnerString : String A SQL-99 compliant string representation of the relation sub- statement. This only has a meaning inside another statement.
`abstract def` | sqlString : String A SQL-99 compliant string representation of the statement.
`def` | sqlTypeString : String
`def` | typeCheck (relation : Relation) : Unit

Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Method Details

`` `def` isCompatibleType : (DataType, DataType) => Boolean

`` `def` typeCheck(relation : Relation) : Unit

`abstract` `def` fieldTypes : List[DataType]

`` `def` sqlTypeString : String

`abstract` `def` sqlString : String

  A SQL-99 compliant string representation of the statement.

`abstract` `def` sqlInnerString : String

  A SQL-99 compliant string representation of the relation sub- statement. This only has a meaning inside another statement.

`` `def` execute(database : Database) : Relation

  Executes the statement on the given database.

`` `def` execute(database : Database, debug : Boolean) : Relation