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) : 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 : java.lang.String
A SQL-99 compliant string representation of the relation sub- statement. This only has a meaning inside another statement.
abstract def sqlString : java.lang.String
A SQL-99 compliant string representation of the statement.
def sqlTypeString : java.lang.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 : java.lang.String

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

abstract def sqlInnerString : java.lang.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