Packages

class InstantJdbcType extends JdbcTypes.InstantJdbcType

Source
SQLServerProfile.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InstantJdbcType
  2. InstantJdbcType
  3. DriverJdbcType
  4. JdbcType
  5. BaseTypedType
  6. AtomicType
  7. TypedType
  8. Type
  9. Dumpable
  10. AnyRef
  11. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InstantJdbcType()

Value Members

  1. def children: ConstArray[Nothing]

    All children of this Type.

    All children of this Type.

    Definition Classes
    AtomicTypeType
  2. final def childrenForeach[R](f: (Type) => R): Unit

    Apply a side-effecting function to all children.

    Apply a side-effecting function to all children.

    Definition Classes
    AtomicTypeType
  3. implicit val classTag: ClassTag[Instant]

    A ClassTag for the erased type of this type's Scala values

    A ClassTag for the erased type of this type's Scala values

    Definition Classes
    DriverJdbcTypeType
  4. def getDumpInfo: DumpInfo

    Return the name, main info, attribute info and named children

    Return the name, main info, attribute info and named children

    Definition Classes
    TypeDumpable
  5. def getValue(r: ResultSet, idx: Int): Instant

    Get a result column of the type.

    Get a result column of the type. For reference types, SQL NULL values are returned as null, for primitive types a default value is returned.

    Definition Classes
    InstantJdbcTypeInstantJdbcTypeJdbcType
  6. def hasLiteralForm: Boolean

    Indicates whether values of this type have a literal representation in SQL statements.

    Indicates whether values of this type have a literal representation in SQL statements. This must return false if valueToSQLLiteral throws a SlickException. QueryBuilder (and profile-specific subclasses thereof) uses this method to treat LiteralNodes as volatile (i.e. using bind variables) as needed.

    Definition Classes
    DriverJdbcTypeJdbcType
  7. final def mapChildren(f: (Type) => Type): InstantJdbcType.this.type

    Apply a transformation to all type children and reconstruct this type with the new children, or return the original object if no child is changed.

    Apply a transformation to all type children and reconstruct this type with the new children, or return the original object if no child is changed.

    Definition Classes
    AtomicTypeType
  8. def optionType: OptionTypedType[Instant]
    Definition Classes
    TypedType
  9. def scalaType: ScalaBaseType[Instant]
    Definition Classes
    DriverJdbcTypeTypedType
  10. def select(sym: TermSymbol): Type
    Definition Classes
    Type
  11. def setNull(p: PreparedStatement, idx: Int): Unit

    Set a parameter of the type to NULL.

    Set a parameter of the type to NULL.

    Definition Classes
    DriverJdbcTypeJdbcType
  12. final def setOption(v: Option[Instant], p: PreparedStatement, idx: Int): Unit

    Set an Option parameter of the type.

    Set an Option parameter of the type.

    Definition Classes
    JdbcType
  13. def setValue(v: Instant, p: PreparedStatement, idx: Int): Unit

    Set a parameter of the type.

    Set a parameter of the type.

    Definition Classes
    InstantJdbcTypeInstantJdbcTypeJdbcType
  14. def sqlType: Int

    The constant from java.sql.Types that is used for setting parameters of the type to NULL.

    The constant from java.sql.Types that is used for setting parameters of the type to NULL.

    Definition Classes
    InstantJdbcTypeJdbcType
  15. def sqlTypeName(sym: Option[FieldSymbol]): String

    The default name for the SQL type that is used for column declarations.

    The default name for the SQL type that is used for column declarations.

    Definition Classes
    InstantJdbcTypeDriverJdbcTypeJdbcType
  16. def structural: Type

    The structural view of this type

    The structural view of this type

    Definition Classes
    Type
  17. def structuralRec: Type

    Remove all NominalTypes recursively from this Type

    Remove all NominalTypes recursively from this Type

    Definition Classes
    Type
  18. def toString(): String
    Definition Classes
    JdbcType → AnyRef → Any
  19. def updateNull(r: ResultSet, idx: Int): Unit

    Update a column of the type in a mutable result set with NULL.

    Update a column of the type in a mutable result set with NULL.

    Definition Classes
    JdbcType
  20. def updateValue(v: Instant, r: ResultSet, idx: Int): Unit

    Update a column of the type in a mutable result set.

    Update a column of the type in a mutable result set.

    Definition Classes
    InstantJdbcTypeInstantJdbcTypeJdbcType
  21. def valueToSQLLiteral(value: Instant): String

    Convert a value to a SQL literal.

    Convert a value to a SQL literal. This should throw a SlickException if hasLiteralForm is false.

    Definition Classes
    InstantJdbcTypeInstantJdbcTypeDriverJdbcTypeJdbcType
  22. def wasNull(r: ResultSet, idx: Int): Boolean

    Check if the value returned by the immediately preceding call to getValue() was NULL.

    Check if the value returned by the immediately preceding call to getValue() was NULL.

    Definition Classes
    DriverJdbcTypeJdbcType