QueryDatasetBuilder

Declares a QueryDataset in code: its profile columns, its fields and their sensitivity.

Constructors

Link copied to clipboard
constructor(name: AggregateType)

Functions

Link copied to clipboard
fun access(aggregate: String, id: String)

The rows are of the aggregate aggregate (context.aggregate), whose id column id holds: its policy decides.

Link copied to clipboard
Link copied to clipboard
fun eventTime(field: String)
Link copied to clipboard
fun field(field: String, block: QueryFieldDeclarationBuilder.() -> Unit)
Link copied to clipboard
fun identity(field: String)
Link copied to clipboard
fun owner(field: String)
Link copied to clipboard
fun platform()

Declares the dataset platform-level: its table has no tenant column (QueryDatasetScope.platform).

Link copied to clipboard
fun sensitive(field: String, level: SensitivityLevel, mask: QueryMask = QueryMask.FULL, resolver: MaskStrategyResolver = MaskStrategyResolver.NONE)

Masks field in results and restricts how it is compared, as x-wow-sensitive does on a Manifest state field; a custom QueryMask.Strategy is resolved by resolver.

Link copied to clipboard
fun space(field: String)
Link copied to clipboard
fun storage(value: ObjectNode)

The backend's binding of the dataset, such as {"table": "db.shop_order_state_flat"}.

Link copied to clipboard
fun tenant(field: String)
Link copied to clipboard
fun title(value: String)