scala.dbc.datatype
class Numeric

[source: `scala/dbc/datatype/Numeric.scala`]

`abstract` `class` Numeric[Type](_nativeTypeId : Int)
  `extends` DataType

  A type category for all SQL types that store numbers.

Direct Known Subclasses:
  ApproximateNumeric, ExactNumeric

Type 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

`` `type` NativeType

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

Value Details

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

Overrides DataType.nativeTypeId

Method Details

`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` precision : Int

  The number of significant digits for that number.

`abstract` `def` signed : Boolean

  Whether the number is signed or not.