scala.dbc.syntax
object DataTypeUtil

[source: `scala/dbc/syntax/DataTypeUtil.scala`]

`` `object` DataTypeUtil
  `extends` AnyRef

Value Summary
`final val` | java_lang_Integer_SIZE : Int = 32
`final val` | java_lang_Long_SIZE : Int = 64

Method Summary
`def` | bigint : ExactNumeric[Long]
`def` | boolean : Boolean
`def` | character (_length : Int) : Character
`def` | characterLargeObject : CharacterLargeObject
`def` | characterVarying (_length : Int) : CharacterVarying
`def` | doublePrecision : ApproximateNumeric[Double]
`def` | integer : ExactNumeric[Int]
`def` | numeric (_precision : Int) : DataType
`def` | numeric (_precision : Int, _scale : Int) : DataType
`def` | real : ApproximateNumeric[Float]
`def` | smallint : ExactNumeric[Short]
`def` | tinyint : ExactNumeric[Byte]

Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Value Details

`final` `val` java_lang_Integer_SIZE : Int

`final` `val` java_lang_Long_SIZE : Int

Method Details

`` `def` boolean : Boolean

`` `def` tinyint : ExactNumeric[Byte]

`` `def` smallint : ExactNumeric[Short]

`` `def` integer : ExactNumeric[Int]

`` `def` bigint : ExactNumeric[Long]

`` `def` numeric(_precision : Int) : DataType

`` `def` numeric(_precision : Int, _scale : Int) : DataType

`` `def` real : ApproximateNumeric[Float]

`` `def` doublePrecision : ApproximateNumeric[Double]

`` `def` character(_length : Int) : Character

`` `def` characterVarying(_length : Int) : CharacterVarying

`` `def` characterLargeObject : CharacterLargeObject