MCPcopy Create free account

hub / github.com/JagritGumber/evolvsql / functions

Functions735 in github.com/JagritGumber/evolvsql

↓ 1,108 callersFunctionexecute
(sql: &str)
native/engine/src/executor/mod.rs:62
↓ 249 callersFunctionreset
()
native/engine/src/catalog.rs:164
↓ 223 callersFunctionsetup
()
native/engine/src/executor/tests/mod.rs:5
↓ 116 callersFunctiondisable
Disable the WAL and drop the writer. Does not delete the WAL file.
native/engine/src/wal/manager/lifecycle.rs:36
↓ 55 callersFunctioneval_expr
( node: &NodeEnum, row: &[ArenaValue], ctx: &JoinContext, arena: &mut QueryArena, )
native/engine/src/executor/expr.rs:13
↓ 52 callersFunctionenable
Enable the WAL with an explicit path. Idempotent: if called twice with the same path, the second call is a no-op.
native/engine/src/wal/manager/lifecycle.rs:9
↓ 50 callersMethodis_null
(&self)
native/engine/src/arena.rs:289
↓ 46 callersFunctionrecover
Replay all durable WAL entries into storage. Returns the count of entries successfully applied. Requires the WAL to be enabled. The WAL writer is tem
native/engine/src/wal/recovery/mod.rs:29
↓ 43 callersFunctiontmp_recovery_path
(name: &str)
native/engine/src/wal/tests/recovery/mod.rs:31
↓ 38 callersMethodinsert
Insert a vector into the index, associated with the given row_id.
native/engine/src/hnsw.rs:72
↓ 38 callersMethodwrite
Write `rows` to `path` using `columns` as the schema. All rows must have the same arity as `columns`.
native/engine/src/segment/writer.rs:19
↓ 34 callersFunctioninsert_op
(id: i64, name: &str)
native/engine/src/wal/tests/mod.rs:25
↓ 32 callersFunctionrow
(id: i64, name: &str)
native/engine/src/memtable/tests/mod.rs:11
↓ 29 callersMethodinsert
Append a row at the given LSN. Returns the row's position within the memtable (stable until freeze/drain).
native/engine/src/memtable/table.rs:39
↓ 25 callersMethodappend_sync
Append a frame AND fsync it in a single locked section. This is the concurrency-safe path and the one production callers must use. The naive compositi
native/engine/src/wal/writer.rs:163
↓ 24 callersMethodalloc_str
Allocate a string into the arena. Returns an ArenaStr reference.
native/engine/src/arena.rs:74
↓ 22 callersFunctionget_table
Fast table lookup: acquires outer read lock briefly, clones the Arc, releases. The caller then works with the per-table lock independently.
native/engine/src/storage.rs:39
↓ 22 callersMethodto_text
Format to text representation (for wire protocol).
native/engine/src/arena.rs:161
↓ 21 callersMethodget_str
(&self, s: ArenaStr)
native/engine/src/arena.rs:85
↓ 21 callersMethodread_all
Collect all entries into a Vec. Convenience for recovery.
native/engine/src/wal/reader.rs:71
↓ 19 callersMethodappend
Append an operation and return the assigned LSN. Does NOT fsync. Call `flush_sync` to make writes durable. LSN assignment is done INSIDE the writer l
native/engine/src/wal/writer.rs:99
↓ 18 callersFunctionget_table
(schema: &str, name: &str)
native/engine/src/catalog.rs:74
↓ 18 callersMethodpartial_cmp
(&self, other: &Self)
native/engine/src/hnsw.rs:297
↓ 18 callersFunctiontmp_wal_path
(name: &str)
native/engine/src/wal/tests/mod.rs:18
↓ 17 callersMethodeq_with
(&self, other: &Self, arena: &QueryArena)
native/engine/src/arena.rs:219
↓ 16 callersMethodcompare
(&self, other: &Self, arena: &QueryArena)
native/engine/src/arena.rs:200
↓ 16 callersFunctionresolve_column
Resolve a column reference to an index into the joined row.
native/engine/src/executor/resolve.rs:22
↓ 14 callersFunctiontmp_path
(name: &str)
native/engine/src/segment/tests/mod.rs:12
↓ 12 callersMethodget_vec
Resolve an ArenaVec to &[f32].
native/engine/src/arena.rs:109
↓ 12 callersMethodoid
(&self)
native/engine/src/types.rs:208
↓ 11 callersFunctionexec_select_raw
Internal: execute a SELECT and return raw ArenaValue rows + column metadata.
native/engine/src/executor/select.rs:23
↓ 11 callersFunctionparse
Parse SQL and return a JSON summary of statement types.
native/engine/src/parser.rs:4
↓ 10 callersMethodcolumn_meta
Find a column by name. Case-sensitive.
native/engine/src/segment/reader.rs:54
↓ 10 callersFunctionfqn
Fully qualified table name.
native/engine/src/catalog.rs:50
↓ 9 callersFunctionappend_op
Shared append + fsync path. Returns the assigned LSN on success, or None if the WAL is disabled (making this a no-op for callers). Goes through `appe
native/engine/src/wal/manager/ops.rs:109
↓ 9 callersFunctioncreate_table
(table: Table)
native/engine/src/catalog.rs:54
↓ 9 callersFunctioneval_const_i64
Evaluate constant expression to i64 (for LIMIT/OFFSET).
native/engine/src/executor/helpers.rs:67
↓ 9 callersFunctionread_all
Read all entries from the configured WAL file. Used for recovery. Returns an empty vec if WAL is disabled or the file doesn't exist.
native/engine/src/wal/manager/lifecycle.rs:57
↓ 9 callersFunctionsetup_test_table
()
native/engine/src/executor/tests/mod.rs:10
↓ 8 callersMethoddelete_at
Mark a row as deleted. Storage stays allocated until flush.
native/engine/src/memtable/table.rs:47
↓ 8 callersFunctionextract_func_name
Extract function name from FuncCall node.
native/engine/src/executor/resolve.rs:97
↓ 8 callersMethodhash
(&self, state: &mut H)
native/engine/src/arena.rs:303
↓ 8 callersMethodto_value
Convert back to storage Value (allocates Arc/Vec on heap). Used at boundaries: arena → wire protocol, arena → storage.
native/engine/src/arena.rs:142
↓ 7 callersFunctionappend_insert
Append an Insert entry. No-op when WAL is disabled. Fsyncs before returning so the write is durable.
native/engine/src/wal/manager/ops.rs:21
↓ 7 callersFunctioncompare_rows
Compare two rows by SortKey list for ordering.
native/engine/src/executor/sort.rs:10
↓ 7 callersFunctionparse_vector_literal
Parse vector literal string "[1.0, 2.0, ...]" to Value::Vector.
native/engine/src/executor/helpers.rs:9
↓ 7 callersMethodquery
(&mut self, sql: &str)
native/cli/src/wire.rs:207
↓ 7 callersMethodsearch
Search for K nearest neighbors. Returns (distance, row_id) sorted ascending.
native/engine/src/hnsw.rs:128
↓ 6 callersMethodclose
(&mut self)
native/cli/src/wire.rs:240
↓ 6 callersFunctioncolumn_type_oid
Get the type OID for a column index in a JoinContext.
native/engine/src/executor/resolve.rs:79
↓ 6 callersFunctioncreate_sequence
( schema: &str, name: &str, #[allow(dead_code)] start: i64, increment: i64, )
native/engine/src/sequence.rs:18
↓ 6 callersFunctiondrop_sequence
(schema: &str, name: &str)
native/engine/src/sequence.rs:70
↓ 6 callersFunctioneval_const
Evaluate constant expressions (literals, simple operations).
native/engine/src/executor/helpers.rs:27
↓ 6 callersFunctioneval_where_value
DML bridge: evaluate WHERE clause on Value rows using a shared arena.
native/engine/src/executor/filter.rs:29
↓ 6 callersFunctionextract_op_name
Extract operator name from protobuf nodes.
native/engine/src/executor/helpers.rs:115
↓ 6 callersMethodflush_sync
Flush any pending writes and fsync to disk. This is the durability boundary: on success, every frame appended since the last successful flush_sync is
native/engine/src/wal/writer.rs:121
↓ 6 callersMethodhash_with
Hash with arena context (for GROUP BY keys).
native/engine/src/arena.rs:257
↓ 6 callersFunctioninsert
Unchecked, non-logging insert used ONLY by recovery replay. Writes the row and also updates unique/PK indexes so that post-recovery constraint checks
native/engine/src/storage.rs:144
↓ 6 callersMethodopen
Open or create a WAL file at `path`. Existing content is preserved (appended to); `next_lsn` starts at 1 unless `starting_lsn` is set by the caller af
native/engine/src/wal/writer.rs:52
↓ 6 callersMethodread_msg
(&mut self)
native/cli/src/wire.rs:252
↓ 6 callersFunctionrollback
Roll the writer's state back to the last durable boundary. Used by both `append` + `flush_sync` and `append_sync` on any I/O failure so a later succes
native/engine/src/wal/writer.rs:212
↓ 6 callersFunctionsetup
(path_name: &str)
native/engine/src/wal/tests/recovery/ddl_wal_first.rs:17
↓ 6 callersMethodstats
(&self)
native/engine/src/memtable/table.rs:90
↓ 6 callersFunctionteardown
(path: &std::path::PathBuf)
native/engine/src/wal/tests/recovery/ddl_wal_first.rs:27
↓ 6 callersFunctiontmp
(name: &str)
native/engine/src/wal/tests/writer_rollback.rs:15
↓ 6 callersFunctionusers_schema
()
native/engine/src/segment/tests/mod.rs:19
↓ 5 callersMethodalloc_vec
Allocate a vector (f32 slice) into the arena.
native/engine/src/arena.rs:93
↓ 5 callersFunctiondedup_distinct
Deduplicate rows when DISTINCT is present.
native/engine/src/executor/filter.rs:106
↓ 5 callersMethoddistance
(&self, a: &[f32], b: &[f32])
native/engine/src/hnsw.rs:227
↓ 5 callersFunctionget_beam_rss
()
native/cli/src/main.rs:337
↓ 5 callersFunctionget_column_index
(schema: &str, table_name: &str, col_name: &str)
native/engine/src/catalog.rs:129
↓ 5 callersFunctionint_row
(id: i64)
native/engine/src/wal/tests/manager_tests.rs:11
↓ 5 callersFunctionkey
(schema: &str, name: &str)
native/engine/src/sequence.rs:14
↓ 5 callersFunctionkey
(schema: &str, name: &str)
native/engine/src/storage.rs:33
↓ 5 callersFunctionrows_to_arena
Convert a slice of storage rows to arena rows.
native/engine/src/arena.rs:345
↓ 5 callersMethodsend_msg
(&mut self, tag: u8, payload: &[u8])
native/cli/src/wire.rs:244
↓ 4 callersFunctionappend_delete
Append a Delete entry keyed by the full row values.
native/engine/src/wal/manager/ops.rs:41
↓ 4 callersFunctionboot_wal_from_env
Boot the WAL subsystem from environment variables. Extracted from `on_load` so cargo tests can exercise the same path the NIF loader takes, since `on_
native/engine/src/lib.rs:29
↓ 4 callersFunctioncheck_not_null
Validate NOT NULL constraints on inserted/updated row.
native/engine/src/executor/helpers.rs:105
↓ 4 callersFunctioncreate_table
Register an empty storage slot for a new table. Returns Err if a slot already exists at `schema.name` instead of silently replacing it — a duplicate c
native/engine/src/storage.rs:57
↓ 4 callersMethoddrain_live
Drain all rows and reset the memtable. Used by flush after the caller has successfully written a segment file. Returns only live rows; tombstones are
native/engine/src/memtable/table.rs:81
↓ 4 callersFunctiondrop_table
()
native/engine/src/executor/tests/crud.rs:39
↓ 4 callersFunctioneval_returning
Evaluate RETURNING clause expressions for affected rows.
native/engine/src/executor/returning.rs:12
↓ 4 callersFunctionexecute_from
Execute FROM clause node and return joined rows with JoinContext.
native/engine/src/executor/from.rs:13
↓ 4 callersFunctionhmac_sha256
(key: &[u8], data: &[u8])
native/cli/src/wire.rs:270
↓ 4 callersFunctionless_than
Strict less-than comparison for zone map tracking. Only defined for the ordered scalar types; Vector/Bytea/Null return false.
native/engine/src/segment/zone_map.rs:47
↓ 4 callersFunctionoverwrite_frame_len
Overwrite the frame_len header of the Nth frame (0-indexed) with `value`. Walks the preceding frames using their on-disk lengths so the seek lands on
native/engine/src/wal/tests/corruption_modes.rs:16
↓ 4 callersFunctionparse_seq_name
Parse a sequence name that may be schema-qualified.
native/engine/src/executor/helpers.rs:87
↓ 4 callersMethodread_all_rows
Read all rows by reconstructing the row-oriented view. Useful for full-table scans and tests. For production SELECTs, prefer `read_column` to scan onl
native/engine/src/segment/reader.rs:77
↓ 4 callersFunctionrename_table
(schema: &str, old_name: &str, new_name: &str)
native/engine/src/catalog.rs:138
↓ 4 callersFunctionreset
()
native/engine/src/sequence.rs:76
↓ 4 callersFunctionscan
(schema: &str, name: &str)
native/engine/src/storage.rs:153
↓ 4 callersMethodscan
Iterate live (non-tombstoned) rows in insertion order.
native/engine/src/memtable/table.rs:72
↓ 4 callersFunctionscan_with
Zero-copy scan: runs callback with borrowed rows, avoids cloning.
native/engine/src/storage.rs:160
↓ 4 callersFunctionsetup
(name: &str)
native/engine/src/wal/tests/recovery/alter_defaults.rs:11
↓ 4 callersFunctionsetup
(name: &str)
native/engine/src/wal/tests/recovery/ddl_phantom_wal.rs:18
↓ 4 callersFunctionteardown
(path: &std::path::PathBuf)
native/engine/src/wal/tests/recovery/ddl_phantom_wal.rs:37
↓ 4 callersMethodupdate_at
Replace a row's values in place at the given LSN. The row must not already be tombstoned.
native/engine/src/memtable/table.rs:57
↓ 4 callersFunctionwipe_and_recover
()
native/engine/src/wal/tests/recovery/alter_defaults.rs:21
↓ 3 callersFunctionadd_to_indexes
Add a row's values to all applicable indexes.
native/engine/src/storage.rs:254
next →1–100 of 735, ranked by callers