|
Scala 2.2.0
|
abstract
class
DataType
extends
java.lang.Object with
scala.ScalaObjectConstructor Summary | |
def
this
|
Def Summary | |
abstract
|
def
isEquivalent
(datatype: scala.dbc.DataType)
: scala.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. |
abstract
|
def
isSubtypeOf
(datatype: scala.dbc.DataType)
: scala.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 .
|
abstract
|
def
nativeTypeId
: scala.Int
The native Scala type in which values of this SQL type will be encoded. This must point to the same type as NativeType .
|
def
nullable
: scala.Option[scala.Boolean]
Whether the value can take the null value, None when this property is unknown. |
|
def
sqlString
: java.lang.String
The SQL name of the type |
Constructor Detail |
def
this
Def Detail |
abstract
def
isEquivalent
(datatype: scala.dbc.DataType): scala.Boolean
abstract
def
isSubtypeOf
(datatype: scala.dbc.DataType): scala.Boolean
A
is said to be subtype of type
B
if any value of type A
can be
represented as a value of type B
.
abstract
def
nativeTypeId
: scala.Int
NativeType
.
def
nullable
: scala.Option[scala.Boolean]
def
sqlString
: java.lang.String