in scala/dbc/result
class Tuple

abstract class Tuple()
extends Object
with ScalaObject

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.
  def apply(name: String): Field
     The field with the given column name.
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 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

fields

  abstract def fields: List[Field]
All the fields contained in the tuple.

originatingRelation

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

apply

  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.

apply

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