Package com.kingsrook.qqq.backend.core.actions.tables.helpers
package com.kingsrook.qqq.backend.core.actions.tables.helpers
-
ClassDescriptionFor actions that may want to set a timeout, and cancel themselves if they run too long - this class helps.Internal structural values for associated writes and their permission preflight.Only this helper constructs backend requests; no generic security-bypass flag or caller-supplied filter is accepted by this operation.Snapshot values without rejecting explicit nulls or mutating caller records.Only declared parent relationships can construct this exact-key projection.Private old and prospective relationship tuples for replacement updates.Private snapshots, with the fields that were not supplied by the caller.A declared association's field pairs, oriented from parent to child.Resolve session values before backend-specific null and comparison semantics.Utility to help query action validate the fieldNames in a filter.After running a query, if it's for a table that's a CacheOf another table, see if there are any cache use-cases to apply to the query result.action flags that can be put in a query request to control behavior in this class.interface for plug-able objects that can be added to
QueryStatManager, to acceptQueryStatobjects after they are built.Singleton, which starts a thread, to store query stats into a table.Best-effort optimistic preflight using the already permission-filtered old rows.Helpers for the pieces of Insert/Update that behave differently under a RestoreWriteFlag.Utility to help query and aggregate actions validate the fieldNames being selected, aggregated, grouped by.Methods to help with unique key checks.To make a list of unique key values here behave like they do in an RDBMS (which is what we're trying to mimic - which is - 2 null values in a field aren't considered the same, so they don't violate a unique key) (at least, that's how some RDBMS's work, right??)Internal native key material for write validation.Privately constructed, schema-owned lookup shapes only.Helper for backends that want to do their updates on records grouped by the set of fields that are being changed, and/or by the values those fields are being set to.Validate user writes against dependent choices, batching by dependency values.