com.outr.arango.queue

Members list

Type members

Classlikes

case class CollectionQueue[D <: Document[D], M <: DocumentModel[D]](batchSize: Int, collection: DocumentCollection[D, M], insert: Vector[D], upsert: Vector[D], delete: Vector[D], inserted: Int, upserted: Int, deleted: Int)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DBQueue(batchSize: Int, map: Map[DocumentCollection[_, _], CollectionQueue[_, _]])

Useful for batch operations where the batch may overflow. This will create multiple batches and flush as they fill up. Call finish() at the end to make sure all unflushed batches get processed.

Useful for batch operations where the batch may overflow. This will create multiple batches and flush as they fill up. Call finish() at the end to make sure all unflushed batches get processed.

Value parameters

batchSize

the maximum number of records per batch (defaults to 1000)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all