Trait/Object

anorm

BatchSql

Related Docs: object BatchSql | package anorm

Permalink

sealed trait BatchSql extends AnyRef

SQL batch

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BatchSql
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def names: Set[String]

    Permalink

    Names of parameter expected for each parameter map

  2. abstract def params: Seq[Map[String, ParameterValue]]

    Permalink

    Named parameters

  3. abstract def sql: SqlQuery

    Permalink

    SQL query

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addBatchParams(args: ParameterValue*): BatchSql

    Permalink

    Adds a parameter map, created by zipping values with query placeholders (SqlQuery.paramsInitialOrder).

    Adds a parameter map, created by zipping values with query placeholders (SqlQuery.paramsInitialOrder). If parameter is used for more than one placeholder, it will result in a parameter map with smaller size than given arguments (as duplicate entry are removed from map).

    Annotations
    @throws( BatchSqlErrors.MissingParameter ) @throws( ... )
  5. def addBatchParamsList(args: Traversable[Seq[ParameterValue]]): BatchSql

    Permalink

    Adds a parameter maps, created by zipping values with query placeholders (SqlQuery.paramsInitialOrder).

    Adds a parameter maps, created by zipping values with query placeholders (SqlQuery.paramsInitialOrder). If parameter is used for more than one placeholder, it will result in parameter maps with smaller size than given arguments (as duplicate entry are removed from map).

    Annotations
    @throws( BatchSqlErrors.MissingParameter ) @throws( ... )
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def bind[T](args: T*)(implicit converter: ToParameterList[T]): BatchSql

    Permalink

    Adds arguments of type T that can be converted as query parameters.

    Adds arguments of type T that can be converted as query parameters.

    Annotations
    @throws( BatchSqlErrors.MissingParameter ) @throws( ... )
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def execute()(implicit connection: Connection): Array[Int]

    Permalink
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getFilledStatement(connection: Connection, getGeneratedKeys: Boolean = false): PreparedStatement

    Permalink
    Annotations
    @SuppressWarnings()
  15. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def withFetchSize(count: Option[Int]): BatchSql

    Permalink

    Returns this query with the fetch suze updated to the row count.

    Returns this query with the fetch suze updated to the row count.

    See also

    SqlQuery.fetchSize

  26. def withQueryTimeout(seconds: Option[Int]): BatchSql

    Permalink

    Returns this query with the timeout updated to seconds delay.

    Returns this query with the timeout updated to seconds delay.

    See also

    SqlQuery.timeout

Inherited from AnyRef

Inherited from Any

Ungrouped