Module materialize

Source

StructsΒ§

ChangeBuffer πŸ”’
ChangeBuffer is a buffer to handle chunk into KeyOp. TODO(rc): merge with TopNStaging.
MaterializeCache πŸ”’
A cache for materialize executors.
MaterializeExecutor
MaterializeExecutor materializes changes in stream into a materialized view on storage.

EnumsΒ§

ChangeBufferKeyOp πŸ”’
KeyOp variant for ChangeBuffer that stores OwnedRow instead of Bytes

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 to old_row.

Type AliasesΒ§

CacheValue πŸ”’