object SqlType
Companion object - contains properties, constructor and helper functions
- Alphabetic
- By Inheritance
- SqlType
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(colType: Int, lenOpt: Option[Int] = None, precOpt: Option[Int] = None, scaleOpt: Option[Int] = None, classNameOpt: Option[String] = None): SqlType
Create the SqlType object given the specifications
Create the SqlType object given the specifications
- colType
SQL type code
- lenOpt
Length (optional)
- precOpt
Precision (optional)
- scaleOpt
Scale (optional)
- classNameOpt
Associated Java class name (optional)
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def charOctetLength(sqlType: SqlType): Option[Int]
Get the octet length of a SQL type
Get the octet length of a SQL type
- sqlType
SQL type object
- returns
Some[Int] object containing octet length of the type, if defined. None if octet length is not defined for this type
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def displaySize(sqlType: SqlType): Int
Get the display size of a SQL type
Get the display size of a SQL type
- sqlType
SQL type object
- returns
The display size of the type
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxLen: Int
Maximum length, to detect spurious values returned by JDBC drivers
- val maxPrec: Int
Maximum precision, to detect spurious values returned by JDBC drivers
- val maxScale: Int
Maximum scale, to detect spurious values returned by JDBC drivers
- val maxVarCharLen: Int
Maximum length of a VARCHAR.
Maximum length of a VARCHAR. Default VARCHAR length when unspecified
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def precisionOpt(sqlType: SqlType): Option[Int]
Get the precision of a SQL type
Get the precision of a SQL type
- sqlType
SQL type object
- returns
Some[Int] object containing precision of the type, if defined. None if precision is not defined for this type
- def scaleOpt(sqlType: SqlType): Option[Int]
Get the scale of a SQL type
Get the scale of a SQL type
- sqlType
SQL type object
- returns
Some[Int] object containing scale of the type, if defined. None if scale is not defined for this type
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])