in scala/dbc/datatype
class Character

abstract class Character()
extends CharacterString
with ScalaObject

A SQL type for a string of characters of arbitrary length with arbitrary character set.

Method Summary
  def isEquivalent(datatype: DataType): Boolean
     Tests whether this datatype is equivalent to another.
  def isSubtypeOf(datatype: DataType): Boolean
     Tests whether this datatype is equivalent or a subtype of another datatype.
abstract def length: Int
     The length of the string defined in characters.
override def sqlString: String
     A SQL-99 compliant string representation of the type.

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

Methods inherited from scala/dbc/DataType-class
nullable

Methods inherited from scala/dbc/datatype/CharacterString-class
NativeType, encoding, nativeTypeId

Methods inherited from scala/dbc/datatype/String-class
maxLength

Method Detail

isEquivalent

  def isEquivalent(datatype: DataType): Boolean
Tests whether this datatype is equivalent to another. Usually, two types are defined as equivalent if they are equal. Two types can be equivalent without being equal if values of those types will be encoded in the same native Scala type.

isSubtypeOf

  def isSubtypeOf(datatype: DataType): Boolean
Tests whether this datatype is equivalent or a subtype of another datatype. Type A is said to be subtype of type B if any value of type A can be represented as a value of type B.

length

  abstract def length: Int
The length of the string defined in characters.

sqlString

  override def sqlString: String
A SQL-99 compliant string representation of the type.