Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.datasync / Constraint

Constraint

sealed class Constraint

Represents constraints on the values of data nodes sent by subscriptions.

Types

Between

class Between : Constraint

Children between: the values of data nodes sent by subscriptions will be limited to the child nodes of the actual data nodes whose keys are between startKey and endKey (included).

EndAt

class EndAt : Constraint

limit children until endKey: the values of data nodes sent by subscriptions will be limited to the last limit child nodes (or all child nodes if limit is not set) of the actual data nodes whose keys are lesser or equal endKey.

First

class First : Constraint

First limit children: the values of data nodes sent by subscriptions will be limited to the first limit child nodes of the actual data nodes.

Last

class Last : Constraint

Last limit children: the values of data nodes sent by subscriptions will be limited to the last limit child nodes of the actual data nodes.

None

object None : Constraint

No constraint: the values of data nodes are sent without filtering any child node.

StartAt

class StartAt : Constraint

limit children from startKey: the values of data nodes sent by subscriptions will be limited to the first *limit child nodes (or all child nodes if limit is not set) of the actual data nodes whose keys are greater or equal startKey.

Inheritors

Between

class Between : Constraint

Children between: the values of data nodes sent by subscriptions will be limited to the child nodes of the actual data nodes whose keys are between startKey and endKey (included).

EndAt

class EndAt : Constraint

limit children until endKey: the values of data nodes sent by subscriptions will be limited to the last limit child nodes (or all child nodes if limit is not set) of the actual data nodes whose keys are lesser or equal endKey.

First

class First : Constraint

First limit children: the values of data nodes sent by subscriptions will be limited to the first limit child nodes of the actual data nodes.

Last

class Last : Constraint

Last limit children: the values of data nodes sent by subscriptions will be limited to the last limit child nodes of the actual data nodes.

None

object None : Constraint

No constraint: the values of data nodes are sent without filtering any child node.

StartAt

class StartAt : Constraint

limit children from startKey: the values of data nodes sent by subscriptions will be limited to the first *limit child nodes (or all child nodes if limit is not set) of the actual data nodes whose keys are greater or equal startKey.