QueryDatasetScope

class QueryDatasetScope @InternalWowApi constructor(val tenant: QueryField<*>? = null, val owner: QueryField<*>? = null, val space: QueryField<*>? = null, val tenantless: Boolean = false, val access: QueryDatasetAccess? = null)

Which columns of a dataset hold its caller scope: the tenant (or, for a tenantless dataset, none), the owner and the space; and, when its rows are an aggregate's, the access of that aggregate. A dataset either names its tenant column or declares that it is tenantless, never both.

Constructors

Link copied to clipboard
constructor(tenant: QueryField<*>? = null, owner: QueryField<*>? = null, space: QueryField<*>? = null, tenantless: Boolean = false, access: QueryDatasetAccess? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The aggregate whose access policy decides the rows a caller reads; null for none.

Link copied to clipboard

Every column this scope names.

Link copied to clipboard

The one tenant every record of a tenantless dataset belongs to; null for a dataset with a tenant column.

Link copied to clipboard
val owner: QueryField<*>?
Link copied to clipboard
val space: QueryField<*>?
Link copied to clipboard
Link copied to clipboard

The dataset has no tenant column: every record belongs to the default tenant (Caller.DEFAULT_TENANT), whose callers read it; not the platform tenant (Caller.PLATFORM_TENANT).

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