JavaRowQueries

RowQueries for Java callers: each query blocking, or asynchronous with the Async suffix.

Inheritors

Functions

Link copied to clipboard
fun <G : Any> aggregate(query: AggregationQuery, groupType: Class<G>): List<G>

The groups of query, each as groupType (RowQueries.aggregate).

Link copied to clipboard
Link copied to clipboard

How many rows query matches (RowQueries.count).

Link copied to clipboard
Link copied to clipboard

One keyset page of the rows query matches (RowQueries.cursor).

Link copied to clipboard
Link copied to clipboard
fun list(query: ListQuery): List<R>

The rows query matches, read whole (RowQueries.list).

Link copied to clipboard
Link copied to clipboard
fun paged(query: PagedQuery): PagedList<R>

One page of the rows query matches (RowQueries.paged).

Link copied to clipboard
Link copied to clipboard
fun single(query: SingleQuery): R?

The first row query matches, or null.

Link copied to clipboard
Link copied to clipboard
fun stream(query: ListQuery, after: String? = null): Stream<Positioned<R>>

The rows query matches as a resumable stream (RowQueries.stream), from after the position after when given; close it (try-with-resources) to stop reading early.