Scala Library Documentation
|
|
scala/dbc/datatype/Numeric.scala
]
abstract
class
Numeric[Type](_nativeTypeId : Int)
extends
DataTypeType Summary | |
type
|
NativeType
The native Scala type in which values of this SQL type will be
encoded.
|
Value Summary | |
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 Summary | |
abstract def
|
precision
: Int
The number of significant digits for that number.
|
abstract def
|
precisionRadix
: Int
The radix in which the precision (and scale when appliable) is defined.
ISO-9075 only allows 2 and 10 for this value.
|
abstract def
|
signed
: Boolean
Whether the number is signed or not.
|
Methods inherited from DataType | |
isEquivalent (abstract), isSubtypeOf (abstract), nullable, sqlString |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Type Details |
Value Details |
val
nativeTypeId : Int
NativeType
.Method Details |
abstract
def
precisionRadix : Int
abstract
def
precision : Int
abstract
def
signed : Boolean
Scala Library Documentation
|
|