stream

@CheckReturnValue
@GenerateBridge
open fun stream(query: String, vararg params: Any): Multi<Entity>

Find entities matching a query, with optional indexed parameters. This method is a shortcut for find(query, params).stream(). It requires a transaction to work. Without a transaction, the underlying cursor can be closed before the end of the stream.

Return

a Stream containing all results, without paging

See also

Parameters

query

a query string

params

optional sequence of indexed parameters


@CheckReturnValue
@GenerateBridge
open fun stream(query: String, sort: Sort, vararg params: Any): Multi<Entity>

Find entities matching a query and the given sort options, with optional indexed parameters. This method is a shortcut for find(query, sort, params).stream(). It requires a transaction to work. Without a transaction, the underlying cursor can be closed before the end of the stream.

Return

a Stream containing all results, without paging

See also

Parameters

query

a query string

sort

the sort strategy to use

params

optional sequence of indexed parameters


@CheckReturnValue
@GenerateBridge
open fun stream(query: String, params: Map<String, Any>): Multi<Entity>

Find entities matching a query, with named parameters. This method is a shortcut for find(query, params).stream(). It requires a transaction to work. Without a transaction, the underlying cursor can be closed before the end of the stream.

Return

a Stream containing all results, without paging

See also

Parameters

query

a query string

params

Map of named parameters


@CheckReturnValue
@GenerateBridge
open fun stream(query: String, sort: Sort, params: Map<String, Any>): Multi<Entity>

Find entities matching a query and the given sort options, with named parameters. This method is a shortcut for find(query, sort, params).stream(). It requires a transaction to work. Without a transaction, the underlying cursor can be closed before the end of the stream.

Return

a Stream containing all results, without paging

See also

Parameters

query

a query string

sort

the sort strategy to use

params

Map of indexed parameters


@CheckReturnValue
@GenerateBridge
open fun stream(query: String, params: Parameters): Multi<Entity>

Find entities matching a query, with named parameters. This method is a shortcut for find(query, params).stream(). It requires a transaction to work. Without a transaction, the underlying cursor can be closed before the end of the stream.

Return

a Stream containing all results, without paging

See also

Parameters

query

a query string

params

Parameters of named parameters


@CheckReturnValue
@GenerateBridge
open fun stream(query: String, sort: Sort, params: Parameters): Multi<Entity>

Find entities matching a query and the given sort options, with named parameters. This method is a shortcut for find(query, sort, params).stream(). It requires a transaction to work. Without a transaction, the underlying cursor can be closed before the end of the stream.

Return

a Stream containing all results, without paging

See also

Parameters

query

a query string

sort

the sort strategy to use

params

Parameters of indexed parameters