Collection

class Collection

This class represents a collection of objects.

Functions

close
Link copied to clipboard
common
fun close()
Closes this collection.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
forceGet
Link copied to clipboard
common
fun forceGet(obj: DeltaCRDT)
Send a get request for the obj.
getId
Link copied to clipboard
common
fun getId(): String
Get the collection ID.
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
open
Link copied to clipboard
common
fun open(objectId: String, type: String, readOnly: Boolean, handler: NotificationHandler = { _, _ -> Unit }): DeltaCRDT
Opens an object of the collection.
pull
Link copied to clipboard
common
fun pull(type: ConsistencyLevel)
Pull remote updates into the current session.
fun pull(type: ConsistencyLevel, vv: VersionVector)
toString
Link copied to clipboard
common
open fun toString(): String