anorm

Column

object Column

Column companion, providing default conversions.

Source
Column.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Column
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply[A](transformer: (Any, MetaDataItem) ⇒ MayErr[SqlRequestError, A]): Column[A]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. implicit val columnToBigInt: Column[BigInt]

    Column conversion to big integer.

    Column conversion to big integer.

    import anorm.SqlParser.scalar
    import anorm.Column.columnToBigInt
    
    val c: BigInt =
      SQL("SELECT COUNT(*) FROM tbl").as(scalar[BigInt].single)
  10. implicit val columnToBigInteger: Column[BigInteger]

    Column conversion to Java big integer.

    Column conversion to Java big integer.

    import anorm.SqlParser.scalar
    import anorm.Column.columnToScalaBigInteger
    
    val c: BigInteger =
      SQL("SELECT COUNT(*) FROM tbl").as(scalar[BigInteger].single)
  11. implicit val columnToBoolean: Column[Boolean]

  12. implicit val columnToByte: Column[Byte]

  13. implicit val columnToChar: Column[Char]

    Column conversion to character.

    Column conversion to character.

    import anorm.SqlParser.scalar
    import anorm.Column.columnToChar
    
    val c: Char = SQL("SELECT char FROM tbl").as(scalar[Char].single)
  14. implicit val columnToDate: Column[Date]

    Parses column as Java Date.

    Parses column as Java Date. Time zone offset is the one of default JVM time zone (see java.util.TimeZone.getDefault).

    import java.util.Date
    
    val d: Date = SQL("SELECT last_mod FROM tbl").as(scalar[Date].single)
  15. implicit val columnToDouble: Column[Double]

  16. implicit val columnToFloat: Column[Float]

  17. implicit val columnToInt: Column[Int]

  18. implicit val columnToJavaBigDecimal: Column[BigDecimal]

    Column conversion to Java big decimal.

    Column conversion to Java big decimal.

    import java.math.{ BigDecimal => JBigDecimal }
    import anorm.SqlParser.scalar
    import anorm.Column.columnToJavaBigDecimal
    
    val c: JBigDecimal =
      SQL("SELECT COUNT(*) FROM tbl").as(scalar[JBigDecimal].single)
  19. implicit val columnToLong: Column[Long]

  20. implicit def columnToOption[T](implicit transformer: Column[T]): Column[Option[T]]

  21. implicit def columnToPk[T](implicit c: Column[T]): Column[Pk[T]]

  22. implicit val columnToScalaBigDecimal: Column[BigDecimal]

    Column conversion to big decimal.

    Column conversion to big decimal.

    import anorm.SqlParser.scalar
    import anorm.Column.columnToScalaBigDecimal
    
    val c: BigDecimal =
      SQL("SELECT COUNT(*) FROM tbl").as(scalar[BigDecimal].single)
  23. implicit val columnToShort: Column[Short]

  24. implicit val columnToString: Column[String]

  25. implicit val columnToUUID: Column[UUID]

  26. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  28. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. def nonNull[A](transformer: (Any, MetaDataItem) ⇒ MayErr[SqlRequestError, A]): Column[A]

  34. final def notify(): Unit

    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped