GetEntities

Functions

Link copied to clipboard
abstract fun async(callback: Consumer<Result<Output>>)
Link copied to clipboard
abstract fun classLevel(@Nullable classLevel: @Nullable PNDataSyncClassLevel): GetEntities
Optional level at which the entity class is defined (e.g.
Link copied to clipboard
abstract fun classVersion(@Nullable classVersion: @Nullable Integer): GetEntities
Restricts results to a single version of the entity class (and its subclasses).
Link copied to clipboard
abstract fun cursor(@Nullable cursor: @Nullable String): GetEntities
Optional opaque cursor for pagination (from a previous result's next.getCursor()).
Link copied to clipboard
abstract fun filter(@Nullable filter: @Nullable String): GetEntities
Optional advanced filter expression.
Link copied to clipboard
abstract fun filterFast(@Nullable filterFast: @Nullable String): GetEntities
Optional filter expression.
Link copied to clipboard
abstract fun limit(@Nullable limit: @Nullable Integer): GetEntities
Optional page size, 1–100 (server default 20).
Link copied to clipboard
Link copied to clipboard
abstract fun overrideConfiguration(configuration: PNConfiguration): Endpoint<T>

Allows to override certain configuration options (see com.pubnub.api.v2.PNConfigurationOverride.Builder) for this request only.

Link copied to clipboard
abstract fun retry()
Link copied to clipboard
abstract fun silentCancel()
Link copied to clipboard
abstract fun sort(@Nullable sort: @Nullable List<PNDataSyncSortField>): GetEntities
Optional sort criteria applied in order; each PNDataSyncSortField sorts on a payload property either ascending (default) or descending.
Link copied to clipboard
abstract fun sync(): Output