KeyType

scalation.database.KeyType
See theKeyType companion object
case class KeyType(key: ArrayBuffer[ValueType])

The KeyType class provides a key type for handling both non-composite and composite keys. A key is a minimal set of attributes that can be used to uniquely identify a tuple.

Value parameters

key

the key values stored in an array buffer

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(ky: ValueType*)

Auxiliary constructor allowing a variable number of arguments.

Auxiliary constructor allowing a variable number of arguments.

Value parameters

ky

the values making up the key as a variable-argument list

Attributes

def this(ky: Tuple)

Auxiliary constructor allowing the key values to passed in as a tuple.

Auxiliary constructor allowing the key values to passed in as a tuple.

Value parameters

ky

the key values in a Tuple = Array [ValueType]

Attributes

def this(ky: Row)

Auxiliary constructor allowing the key values to passed in as a row.

Auxiliary constructor allowing the key values to passed in as a row.

Value parameters

ky

the key values in a Row = Vector [ValueType]

Attributes

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product