docs/api/exposed-jdbc/org.jetbrains.exposed.v1.jdbc/-sized-collection/index.html
class SizedCollection<out T>(val delegate: Collection<T>) : SizedIterable<T>
Represents a SizedIterable that defers to the specified delegate collection.
MembersMembers & Extensions
Link copied to clipboard
constructor(delegate: Collection<T>)
constructor(vararg values: T)
Link copied to clipboard
val delegate: Collection<T>
Link copied to clipboard
open override fun copy(): SizedIterable<T>
Returns a new SizedIterable that is a copy of the original.
Link copied to clipboard
open override fun count(): Long
Returns the number of elements stored.
Link copied to clipboard
open override fun empty(): Boolean
Whether there are no elements stored.
Link copied to clipboard
open fun forUpdate(option: ForUpdateOption = ForUpdateOption.ForUpdate): SizedIterable<T>
Returns a new SizedIterable with a locking read for the elements according to the rules specified by option.
Link copied to clipboard
open operator override fun iterator(): Iterator<T>
Link copied to clipboard
open override fun limit(count: Int): SizedIterable<T>
Returns a new SizedIterable containing only count elements.
Link copied to clipboard
infix fun <T, R> SizedIterable<T>.mapLazy(f: (T) -> R): SizedIterable<R>
Returns a SizedIterable containing the lazily evaluated results of applying the function f to each original element.
Link copied to clipboard
open fun notForUpdate(): SizedIterable<T>
Returns a new SizedIterable without any locking read for the elements.
Link copied to clipboard
open override fun offset(start: Long): SizedIterable<T>
Returns a new SizedIterable containing only elements starting from the specified start.
Link copied to clipboard
open override fun orderBy(vararg order: Pair<Expression<*>, SortOrder>): SizedIterable<T>
Returns a new SizedIterable with the elements sorted according to the specified expression order.
Generated by Dokka © 2026 Copyright