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