Expand description
Bind point detection and field classification.
Scans op template fields to detect {name} bind point references
and {{expr}} inline binding definitions. Classifies fields as
static (no bind points) or dynamic (has bind points).
Structs§
- Capture
Parse Result - Result of parsing capture points from a string.
- Capture
Point - A capture point extracted from an op template.
Enums§
- Bind
Point - A detected bind point in an op template field.
- Bind
Qualifier - Namespace qualifier for a bind point reference.
- Capture
Agg - Row-set aggregation for a declarative capture: reduce an
array-of-rows body (or addressed sub-array) to one scalar by
folding the named field across rows. Declared with a
:min(field)/:max(field)/:sum(field)suffix on the capture path. Motivating case:system_views.sstable_taskscarries several concurrent tasks in MIXED units (a byte-denominated data compaction plus an ordinal-denominated index build) — a/0/...capture pins whichever row sorts first, so a saturated byte task masks the still-running merge;:min(completion_ratio)reads the least-complete task, which is the drain’s true state. - Field
Type - The classification of an op template field value.
- Lvalue
Spec - Workload-author lvalue assertion attached to a
BindPoint::Reference.
Functions§
- classify_
field - Scan a string value for bind points and classify it. Fails as
extract_bind_pointsdoes. - extract_
bind_ points - Extract all bind points from a string.
- is_
expression_ public - Detect whether bind point content is a Polydat expression (not a simple name).
- parse_
capture_ points - Parse capture points from an op template string.
- referenced_
bindings - Extract all referenced binding names from a string (only
{name}, not{{expr}}). Returns the bare name without qualifier. Fails asextract_bind_pointsdoes. - replace_
bind_ points_ with_ markers - Replace
{name}bind point references with?markers for CQL prepared statements. Returns the parameterized statement. - split_
lvalue_ spec - Public form of
extract_lvalue_specfor adapters that need to interleave bind-point processing with text generation (e.g., the cassandra-cppresolve_structural_and_mark_remainingwalker, which scans the statement text char-by-char and must strip a lvalue-spec suffix from a bind-point body before deciding whether to inline-resolve or?-mark the position).