CountQuery

class CountQuery @InternalWowApi constructor(val filter: FilterExpression, val limit: Int? = null) : FilterCapable<CountQuery>

A bounded count of the matches of filter.

Constructors

Link copied to clipboard
constructor(filter: FilterExpression, limit: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val filter: FilterExpression

The filter expression the counted items match.

Link copied to clipboard
val limit: Int?

The most matches to count, at least 1: the count is exact below it; otherwise it is limit with CountResult.exact false. null, the default, uses the budget's default limit.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun withFilter(newFilter: FilterExpression): CountQuery