DBQueue

com.outr.arango.queue.DBQueue
case class DBQueue(batchSize: Int, map: Map[DocumentCollection[_], CollectionQueue[_]], inserts: Int, upserts: Int, deletes: Int)

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.

Attributes

batchSize

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

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def delete[D <: Document[LazyRef(...)]](docAndCollection: (D, DocumentCollection[D])): IO[DBQueue]
def finish(): IO[Unit]
def insert[D <: Document[LazyRef(...)]](docAndCollection: (D, DocumentCollection[D])): IO[DBQueue]
def upsert[D <: Document[LazyRef(...)]](docAndCollection: (D, DocumentCollection[D])): IO[DBQueue]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product