View

class View<out Target : Entity<*>>(val op: Op<Boolean>, val factory: EntityClass<*, Target>) : SizedIterable<Target>

A SizedIterable of Entity instances that represent a subset of all managed entities that conform to the provided op conditional expression.

Parameters

op

The conditional expression to use when querying for matching entities.

factory

The EntityClass to use when searching for matching entities.

Constructors

Link copied to clipboard
constructor(op: Op<Boolean>, factory: EntityClass<*, Target>)

Properties

Link copied to clipboard
Link copied to clipboard
val op: Op<Boolean>

Functions

Link copied to clipboard
open override fun copy(): SizedIterable<Target>
Link copied to clipboard
open override fun count(): Long
Link copied to clipboard
open override fun empty(): Boolean
Link copied to clipboard
open fun forEach(p0: Consumer<in Target>)
Link copied to clipboard
open override fun forUpdate(option: ForUpdateOption): SizedIterable<Target>
Link copied to clipboard
operator fun getValue(o: Any?, desc: KProperty<*>): SizedIterable<Target>
Link copied to clipboard
open operator override fun iterator(): Iterator<Target>
Link copied to clipboard
open override fun limit(count: Int): SizedIterable<Target>
open override fun limit(n: Int, offset: Long): SizedIterable<Target>
Link copied to clipboard
open override fun notForUpdate(): SizedIterable<Target>
Link copied to clipboard
open override fun offset(start: Long): SizedIterable<Target>
Link copied to clipboard
open override fun orderBy(vararg order: Pair<Expression<*>, SortOrder>): SizedIterable<Target>
Link copied to clipboard