in scala/dbc/statement
class Relation

abstract class Relation()
extends Statement
with ScalaObject
Implementing classes or objects:
class Jointure()
class Table()
class Select()
class Expression()

A statement that returns a relation.

Method Summary
  def execute(database: Database): Relation
     Executes the statement on the given database.
  def execute(database: Database, debug: Boolean): Relation
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.
abstract def sqlString: String
     A SQL-99 compliant string representation of the statement.
  def sqlTypeString: String
  def typeCheck(relation: Relation): Unit

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/ScalaObject-class
getScalaType

Method Detail

isCompatibleType

  def isCompatibleType: (DataType,DataType) => Boolean

typeCheck

  def typeCheck(relation: Relation): Unit

fieldTypes

  abstract def fieldTypes: List[DataType]

sqlTypeString

  def sqlTypeString: String

sqlString

  abstract def sqlString: String
A SQL-99 compliant string representation of the statement.

sqlInnerString

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

execute

  def execute(database: Database): Relation
Executes the statement on the given database.

execute

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