in scala/dbc/datatype
class Unknown

class Unknown()
extends DataType
with ScalaObject

The SQL type for a truth value.

Field Summary
  type NativeType
     The native Scala type in which values of this SQL type will be encoded.
  val nativeTypeId: Int
     The native Scala type in which values of this SQL type will be encoded.

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.
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

Field Detail

NativeType

  type NativeType = Object
The native Scala type in which values of this SQL type will be encoded.

nativeTypeId

  val nativeTypeId: Int
The native Scala type in which values of this SQL type will be encoded. This must point to the same type as NativeType.
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.

sqlString

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