scala.dbc.result

class Tuple

[source: scala/dbc/result/Tuple.scala]

abstract class Tuple
extends AnyRef
An ISO-9075:2003 (SQL) table row. This is equivalent to a tuple in the relational model.
Method Summary
def apply (index : Int) : Field
The field at the given index. If there is no such field (that is the index is out of bounds), None is returned instead.
def apply (name : String) : Field
The field with the given column name. If there is no such field, None is returned instead.
abstract def fields : List[Field]
All the fields contained in the tuple.
abstract def originatingRelation : Relation
The relation that contains the tuple.
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
abstract def fields : List[Field]
All the fields contained in the tuple.

abstract def originatingRelation : Relation
The relation that contains the tuple.

def apply(index : Int) : Field
The field at the given index. If there is no such field (that is the index is out of bounds), None is returned instead.

def apply(name : String) : Field
The field with the given column name. If there is no such field, None is returned instead.