|
Scala example source code file (DataType.scala)
The Scala DataType.scala source code/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2003-2011, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
package scala.dbc;
/** An ISO-9075:2003 (SQL) data type. Mappings between SQL types and
* database specific types should be provided by the database driver.
*/
@deprecated(DbcIsDeprecated, "2.9.0") abstract class DataType {
/** Tests whether this datatype is equivalent to another. Usually, two
* types are defined as equivalent if they are equal. Two types can be
* equivalent without being equal if values of those types will be
* encoded in the same native Scala type.
*/
def isEquivalent(datatype: DataType): Boolean;
/** Tests whether this datatype is equivalent or a subtype of another
* datatype. Type <code>A is said to be subtype of type
* <code>B if any value of type
Other Scala examples (source code examples)Here is a short list of links related to this Scala DataType.scala source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.