blob: c5a3482a7d348608c4fb55f8add76b170a4eda2c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2003-2011, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
package scala.dbc
package datatype;
/** A type category for all SQL types that store numbers. */
@deprecated(DbcIsDeprecated) abstract class Numeric[Type](_nativeTypeId: DataType.Id) extends DataType {
type NativeType = Type;
val nativeTypeId = _nativeTypeId;
/** The radix in which the precision (and scale when appliable) is defined.
* ISO-9075 only allows 2 and 10 for this value.
*/
def precisionRadix: Int;
/** The number of significant digits for that number. */
def precision: Int;
/** Whether the number is signed or not. */
def signed: scala.Boolean;
}
|