kmongo / org.litote.kmongo.property / KCollectionPropertyPath

KCollectionPropertyPath

open class KCollectionPropertyPath<T, R, MEMBER : KPropertyPath<T, R?>> : KPropertyPath<T, Iterable<R>?> (source)

Base class for collection property path.

Constructors

<init>

Base class for collection property path.

KCollectionPropertyPath(previous: KPropertyPath<T, *>?, property: KProperty1<*, Iterable<R>?>)

Properties

allPosOp

The all positional operator $[]

val allPosOp: MEMBER

posOp

The positional array operator (projection or update) $

val posOp: MEMBER

Functions

filteredPosOp

The filtered positional operator $

fun filteredPosOp(identifier: String): MEMBER

memberWithAdditionalPath

To be overridden to return the right type.

open fun memberWithAdditionalPath(additionalPath: String): MEMBER

pos

In order to write array indexed expressions (like accesses.0.timestamp)

fun pos(position: Int): MEMBER

Inheritors

KCollectionSimplePropertyPath

A property path for a collection property.

class KCollectionSimplePropertyPath<T, R> : KCollectionPropertyPath<T, R, KPropertyPath<T, R?>>