ResultType

com.outr.arango.pagination.ResultType
See theResultType companion trait
object ResultType

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
ResultType.type

Members list

Type members

Classlikes

case object Cached extends ResultType

Maintains a cached copy of the document in the pagination results that leads to guaranteed consistent results as the pages are consumed. However, updates to documents will not be reflected in the results.

Maintains a cached copy of the document in the pagination results that leads to guaranteed consistent results as the pages are consumed. However, updates to documents will not be reflected in the results.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ResultType
class Object
trait Matchable
class Any
Show all
Self type
Cached.type
case object CachedUpdated extends ResultType

Maintains a cached copy of the document, but during fetch it will attempt to update the document with the latest information if available. This leads to a hybrid of Reference and Cached where deleted data will not lead to loss, and the page will always have the latest information.

Maintains a cached copy of the document, but during fetch it will attempt to update the document with the latest information if available. This leads to a hybrid of Reference and Cached where deleted data will not lead to loss, and the page will always have the latest information.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ResultType
class Object
trait Matchable
class Any
Show all
Self type
case object Reference extends ResultType

Maintains a reference to the document only. This leads to the latest document information being accessible while paging through results. However, it can lead to document loss if deletions occur.

Maintains a reference to the document only. This leads to the latest document information being accessible while paging through results. However, it can lead to document loss if deletions occur.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ResultType
class Object
trait Matchable
class Any
Show all
Self type
Reference.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Implicits

Implicits

implicit lazy val rw: RW[ResultType]