summaryrefslogtreecommitdiff
path: root/src/dbc/scala/dbc/Value.scala
blob: 1dabec0377329369a59d5f9cd078989c9b482ec1 (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
/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2003-2011, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |                                         **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */



package scala.dbc;


/** A SQL-99 value of any type. */
@deprecated(DbcIsDeprecated) abstract class Value {

  /** The SQL-99 type of the value. */
  val dataType: DataType;

  type NativeType = dataType.type#NativeType;

  val nativeValue: NativeType;

  /** A SQL-99 compliant string representation of the value. */
  def sqlString: String;

}