Class/Object

com.rocketfuel.sdbc.base.jdbc.Batch

Batch

Related Docs: object Batch | package Batch

Permalink

class Batch extends AnyRef

Create and run a batch using a statement and a sequence of parameters.

Batch contains two collections of parameters. One is the current batch, and the other is a list of batches. Methods from ParameterizedQuery act on the current batch. The current batch is added to the list of batches using #add, #addParameters, #addProduct, or #addRecord. The add methods perform a union with the current parameter list and append the result to the list of batches. The current parameter list is not altered.

If you don't want to use the concept of default parameters for the batches, simply disregard the on methods from ParameterizedQuery, and use only the add methods.

Self Type
(jdbc.Batch.this)#Batch
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Batch
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Batch()

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++(other: (jdbc.Batch.this)#Batch): (jdbc.Batch.this)#Batch

    Permalink
  4. val +:: ((jdbc.Batch.this)#CompiledParameterizedQuery[_]) ⇒ (jdbc.Batch.this)#Batch

    Permalink
  5. val :+: ((jdbc.Batch.this)#CompiledParameterizedQuery[_]) ⇒ (jdbc.Batch.this)#Batch

    Permalink
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. def append(query: (jdbc.Batch.this)#CompiledParameterizedQuery[_]): (jdbc.Batch.this)#Batch

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def batch()(implicit connection: (jdbc.Batch.this)#Connection): Results

    Permalink
  10. val batches: Map[(jdbc.Batch.this)#CompiledStatement, Vector[(jdbc.Batch.this)#Parameters]]

    Permalink
  11. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def prepend(query: (jdbc.Batch.this)#CompiledParameterizedQuery[_]): (jdbc.Batch.this)#Batch

    Permalink
  22. def stream[F[_]]()(implicit pool: (jdbc.Batch.this)#Pool, async: Async[F]): Stream[F, Result]

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped