layerSimulation 66

May depend on Contract, Schema, Sql, Exception.

Namespaces§

ZtdQuery\Rewrite 3 interfaces 8 classes 2 enums
ZtdQuery\Shadow 12 classes 1 enum
ZtdQuery\Shadow\Mutation 2 interfaces 8 classes 2 enums
ZtdQuery\Shadow\Mutation\Row 1 interface 8 classes
ZtdQuery\Shadow\Mutation\Table 7 classes
ZtdQuery\Shadow\Mutation\Upsert 1 interface 6 classes
ZtdQuery\Shadow\Row 5 classes

Interfaces 7§

RewriteStateCommitterZtdQuery\RewriteCommits rewrite-time reservations only after simulated execution succeeds.
SqlRewriterZtdQuery\RewriteTurns a statement into the plan ZTD will carry out instead of it.
SqlTransformerZtdQuery\RewriteRewrites a statement so that it reads the shadow instead of the database.
DataMutationZtdQuery\Shadow\MutationMarker for mutations that can change rows participating in referential integrity.
ShadowMutationZtdQuery\Shadow\MutationWhat a statement would do to the shadow.
ResultSetMutationZtdQuery\Shadow\Mutation\RowMutation whose schema depends on the executed query's result metadata.
UpsertLiteralSourceZtdQuery\Shadow\Mutation\UpsertPreserves a literal supplied through the public expression API without coercion.

Classes 54§

InsertRowProjectionZtdQuery\RewriteWhat one column of a rewritten INSERT ... VALUES will read back as.
InsertRowProjectionPlannerZtdQuery\RewriteWorks out what each column of a rewritten INSERT ... VALUES reads back as.
InsertSelectProjectionZtdQuery\RewriteThe insert select projection.
InsertSelectProjectionPlannerZtdQuery\RewriteWorks out what each column of a rewritten INSERT ... SELECT reads back as.
MultiRewritePlanZtdQuery\RewriteRepresents the rewrite outcome for multiple SQL statements.
ReturningProjectionZtdQuery\RewriteA dialect-neutral projection of mutation rows returned to the client.
RewritePlanZtdQuery\RewriteRepresents the rewrite outcome for a single SQL statement.
ShadowIdentityAllocatorZtdQuery\RewriteHands out the identity values a database would have assigned.
CascadedChildrenZtdQuery\ShadowThe rows of one child table as a cascade leaves them.
FollowedConstraintZtdQuery\ShadowOne constraint being followed out from a parent, and what to say of it.
ForeignKeyCascadeZtdQuery\ShadowApplies to one child table what happened to its parent.
ForeignKeyEndsZtdQuery\ShadowAnswers which columns of the parent a foreign key points at.
ForeignKeyIntegrityZtdQuery\ShadowRefuses a shadow in which some child references a parent that is not there.
ParentKeyLookupZtdQuery\ShadowReports whether the row a foreign key points at is still there.
ReferentialIntegrityEnforcerZtdQuery\ShadowCarries what a statement did outward through the constraints that declare it.
ShadowApplicationZtdQuery\ShadowWrites one simulated statement into the shadow, all of it or none of it.
ShadowSavepointZtdQuery\ShadowEverything a transaction would have to put back, as it was at one moment.
ShadowStore public APIZtdQuery\ShadowHolds in-memory shadow rows for tables.
ShadowTransactions public APIZtdQuery\ShadowKeeps the shadow at the point each open transaction could go back to.
TableTransitionsZtdQuery\ShadowWorks out what a statement did to each table, by comparing the two shadows.
ConflictSearchZtdQuery\Shadow\MutationFinds the row an incoming row would collide with, where a clause narrows which.
MutationImpactZtdQuery\Shadow\MutationDerives observable execution metadata from a shadow-state transition.
MutationRowIdentityZtdQuery\Shadow\MutationCarries the key a row had, alongside the key it has.
RowConstraintsZtdQuery\Shadow\MutationRefuses a row the table would not have accepted.
UpsertExpressionZtdQuery\Shadow\MutationA scalar expression from an UPSERT assignment, in no particular dialect.
UpsertMutationZtdQuery\Shadow\MutationApplies INSERT ... ON DUPLICATE KEY UPDATE (UPSERT) to the shadow store.
UpsertMutationRowZtdQuery\Shadow\MutationNames the columns an UPSERT carries its assignment values under.
UpsertUpdateZtdQuery\Shadow\MutationWhat an UPSERT does to a row it found a conflict on.
DeleteMutationZtdQuery\Shadow\Mutation\RowApplies DELETE result rows to the shadow store.
InsertMutationZtdQuery\Shadow\Mutation\RowApplies INSERT result rows to the shadow store.
MultiDeleteMutationZtdQuery\Shadow\Mutation\RowApplies multi-table DELETE operation to the shadow store. This mutation handles DELETE statements that target multiple tables.
MultiTableMutationRowZtdQuery\Shadow\Mutation\RowNames the columns a multi-table statement carries its per-table values under.
MultiTableMutationTargetZtdQuery\Shadow\Mutation\RowOne table a statement writing to several of them writes to.
MultiUpdateMutationZtdQuery\Shadow\Mutation\RowApplies multi-table UPDATE operation to the shadow store. This mutation handles UPDATE statements that target multiple tables.
ReplaceMutationZtdQuery\Shadow\Mutation\RowApplies REPLACE INTO operation to the shadow store. REPLACE deletes the existing row and inserts the new one.
UpdateMutationZtdQuery\Shadow\Mutation\RowApplies UPDATE result rows to the shadow store.
CreateTableAsSelectMutationZtdQuery\Shadow\Mutation\TableApplies CREATE TABLE ... AS SELECT ... operation to the virtual schema. This mutation creates a new table with structure and data from SELECT.
CreateTableLikeMutationZtdQuery\Shadow\Mutation\TableApplies CREATE TABLE ... LIKE ... operation to the virtual schema. This mutation copies the TableDefinition from an existing table to a new table.
CreateTableMutationZtdQuery\Shadow\Mutation\TableApplies CREATE TABLE operation to the virtual schema. This mutation registers a new table in the TableDefinitionRegistry.
DropTableMutationZtdQuery\Shadow\Mutation\TableApplies DROP TABLE operation to the virtual schema. This mutation marks a table as removed from the virtual schema and clears its rows.
MultiTruncateMutationZtdQuery\Shadow\Mutation\TableApplies a single TRUNCATE statement to every target shadow table.
SynchronizeMutationZtdQuery\Shadow\Mutation\TableReplaces a table with a database-evaluated complete result set.
TruncateMutationZtdQuery\Shadow\Mutation\TableApplies TRUNCATE operation to the shadow store by clearing all rows.
UpsertColumnZtdQuery\Shadow\Mutation\UpsertReads a column off a row the way SQL names one.
UpsertComparisonZtdQuery\Shadow\Mutation\UpsertCompares two values the way a database does it.
UpsertLiteralZtdQuery\Shadow\Mutation\UpsertRetains the type and identity of one expression literal.
UpsertNumberZtdQuery\Shadow\Mutation\UpsertDoes arithmetic the way a database does it, over the values a row carries.
UpsertOperatorZtdQuery\Shadow\Mutation\UpsertWhat one operator stands for, once its operands have been worked out.
UpsertTruthZtdQuery\Shadow\Mutation\UpsertAnswers whether a value counts as true, in SQL's three-valued logic.
RowChangeZtdQuery\Shadow\RowOne row as it was, and as it became.
RowMatchZtdQuery\Shadow\RowFinds a row among rows, by the columns that identify it.
RowMultisetZtdQuery\Shadow\RowRows counted with their repeats: what one set of rows has that another does not.
RowPairingZtdQuery\Shadow\RowWhich rows of a shadow before are which rows of the shadow after.
TableTransitionZtdQuery\Shadow\RowWhat happened to one table, as the rows themselves rather than as a count.

Enums 5§

AffectedRowsModeZtdQuery\RewriteObservable affected-row convention for a rewritten statement.
QueryKindZtdQuery\RewriteWhat ZTD decided to do with a statement.
ShadowTableStateZtdQuery\ShadowDescribes how much table context is available in the shadow store.
UpsertColumnSourceZtdQuery\Shadow\MutationWhich of the two rows an UPSERT assignment reads a column from.
UpsertExpressionKindZtdQuery\Shadow\MutationWhat one node of an UPSERT assignment expression is.