StructsΒ§
- Change
Buffer ChangeBuffer
is a buffer to handle chunk intoKeyOp
. TODO(rc): merge withTopNStaging
.- Materialize
Cache π - A cache for materialize executors.
- Materialize
Executor MaterializeExecutor
materializes changes in stream into a materialized view on storage.- Refreshable
Materialize Args - Arguments and state for refreshable materialized views
EnumsΒ§
- Change
Buffer πKeyOp KeyOp
variant forChangeBuffer
that storesOwnedRow
instead of Bytes- Materialize
Stream State
FunctionsΒ§
- generate_
output π - Construct output
StreamChunk
from given buffer. - get_
op_ πconsistency_ level - handle_
toast_ πcolumns_ for_ postgres_ cdc - Fix TOAST columns by replacing unavailable values with old row values.
- is_
debezium_ πunavailable_ value - Check if a datum represents Debeziumβs unavailable value placeholder. This function handles both scalar types and one-dimensional arrays.
- is_
unavailable_ πvalue_ str - Fast string comparison to check if a string equals
DEBEZIUM_UNAVAILABLE_VALUE
. Optimized by checking length first to avoid expensive string comparison. - replace_
if_ πnot_ null - Replace columns in an existing row with the corresponding columns in a replacement row, if the column value in the replacement row is not null.
- versions_
are_ πnewer_ or_ equal - Compare multiple version columns lexicographically.
Returns true if
new_row
has a newer or equal version compared toold_row
.
Type AliasesΒ§
- Cache
Value π