Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JagritGumber/evolvsql
/ functions
Functions
735 in github.com/JagritGumber/evolvsql
⨍
Functions
735
◇
Types & classes
48
↓ 1,108 callers
Function
execute
(sql: &str)
native/engine/src/executor/mod.rs:62
↓ 249 callers
Function
reset
()
native/engine/src/catalog.rs:164
↓ 223 callers
Function
setup
()
native/engine/src/executor/tests/mod.rs:5
↓ 116 callers
Function
disable
Disable the WAL and drop the writer. Does not delete the WAL file.
native/engine/src/wal/manager/lifecycle.rs:36
↓ 55 callers
Function
eval_expr
( node: &NodeEnum, row: &[ArenaValue], ctx: &JoinContext, arena: &mut QueryArena, )
native/engine/src/executor/expr.rs:13
↓ 52 callers
Function
enable
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 callers
Method
is_null
(&self)
native/engine/src/arena.rs:289
↓ 46 callers
Function
recover
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 callers
Function
tmp_recovery_path
(name: &str)
native/engine/src/wal/tests/recovery/mod.rs:31
↓ 38 callers
Method
insert
Insert a vector into the index, associated with the given row_id.
native/engine/src/hnsw.rs:72
↓ 38 callers
Method
write
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 callers
Function
insert_op
(id: i64, name: &str)
native/engine/src/wal/tests/mod.rs:25
↓ 32 callers
Function
row
(id: i64, name: &str)
native/engine/src/memtable/tests/mod.rs:11
↓ 29 callers
Method
insert
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 callers
Method
append_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 callers
Method
alloc_str
Allocate a string into the arena. Returns an ArenaStr reference.
native/engine/src/arena.rs:74
↓ 22 callers
Function
get_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 callers
Method
to_text
Format to text representation (for wire protocol).
native/engine/src/arena.rs:161
↓ 21 callers
Method
get_str
(&self, s: ArenaStr)
native/engine/src/arena.rs:85
↓ 21 callers
Method
read_all
Collect all entries into a Vec. Convenience for recovery.
native/engine/src/wal/reader.rs:71
↓ 19 callers
Method
append
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 callers
Function
get_table
(schema: &str, name: &str)
native/engine/src/catalog.rs:74
↓ 18 callers
Method
partial_cmp
(&self, other: &Self)
native/engine/src/hnsw.rs:297
↓ 18 callers
Function
tmp_wal_path
(name: &str)
native/engine/src/wal/tests/mod.rs:18
↓ 17 callers
Method
eq_with
(&self, other: &Self, arena: &QueryArena)
native/engine/src/arena.rs:219
↓ 16 callers
Method
compare
(&self, other: &Self, arena: &QueryArena)
native/engine/src/arena.rs:200
↓ 16 callers
Function
resolve_column
Resolve a column reference to an index into the joined row.
native/engine/src/executor/resolve.rs:22
↓ 14 callers
Function
tmp_path
(name: &str)
native/engine/src/segment/tests/mod.rs:12
↓ 12 callers
Method
get_vec
Resolve an ArenaVec to &[f32].
native/engine/src/arena.rs:109
↓ 12 callers
Method
oid
(&self)
native/engine/src/types.rs:208
↓ 11 callers
Function
exec_select_raw
Internal: execute a SELECT and return raw ArenaValue rows + column metadata.
native/engine/src/executor/select.rs:23
↓ 11 callers
Function
parse
Parse SQL and return a JSON summary of statement types.
native/engine/src/parser.rs:4
↓ 10 callers
Method
column_meta
Find a column by name. Case-sensitive.
native/engine/src/segment/reader.rs:54
↓ 10 callers
Function
fqn
Fully qualified table name.
native/engine/src/catalog.rs:50
↓ 9 callers
Function
append_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 callers
Function
create_table
(table: Table)
native/engine/src/catalog.rs:54
↓ 9 callers
Function
eval_const_i64
Evaluate constant expression to i64 (for LIMIT/OFFSET).
native/engine/src/executor/helpers.rs:67
↓ 9 callers
Function
read_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 callers
Function
setup_test_table
()
native/engine/src/executor/tests/mod.rs:10
↓ 8 callers
Method
delete_at
Mark a row as deleted. Storage stays allocated until flush.
native/engine/src/memtable/table.rs:47
↓ 8 callers
Function
extract_func_name
Extract function name from FuncCall node.
native/engine/src/executor/resolve.rs:97
↓ 8 callers
Method
hash
(&self, state: &mut H)
native/engine/src/arena.rs:303
↓ 8 callers
Method
to_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 callers
Function
append_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 callers
Function
compare_rows
Compare two rows by SortKey list for ordering.
native/engine/src/executor/sort.rs:10
↓ 7 callers
Function
parse_vector_literal
Parse vector literal string "[1.0, 2.0, ...]" to Value::Vector.
native/engine/src/executor/helpers.rs:9
↓ 7 callers
Method
query
(&mut self, sql: &str)
native/cli/src/wire.rs:207
↓ 7 callers
Method
search
Search for K nearest neighbors. Returns (distance, row_id) sorted ascending.
native/engine/src/hnsw.rs:128
↓ 6 callers
Method
close
(&mut self)
native/cli/src/wire.rs:240
↓ 6 callers
Function
column_type_oid
Get the type OID for a column index in a JoinContext.
native/engine/src/executor/resolve.rs:79
↓ 6 callers
Function
create_sequence
( schema: &str, name: &str, #[allow(dead_code)] start: i64, increment: i64, )
native/engine/src/sequence.rs:18
↓ 6 callers
Function
drop_sequence
(schema: &str, name: &str)
native/engine/src/sequence.rs:70
↓ 6 callers
Function
eval_const
Evaluate constant expressions (literals, simple operations).
native/engine/src/executor/helpers.rs:27
↓ 6 callers
Function
eval_where_value
DML bridge: evaluate WHERE clause on Value rows using a shared arena.
native/engine/src/executor/filter.rs:29
↓ 6 callers
Function
extract_op_name
Extract operator name from protobuf nodes.
native/engine/src/executor/helpers.rs:115
↓ 6 callers
Method
flush_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 callers
Method
hash_with
Hash with arena context (for GROUP BY keys).
native/engine/src/arena.rs:257
↓ 6 callers
Function
insert
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 callers
Method
open
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 callers
Method
read_msg
(&mut self)
native/cli/src/wire.rs:252
↓ 6 callers
Function
rollback
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 callers
Function
setup
(path_name: &str)
native/engine/src/wal/tests/recovery/ddl_wal_first.rs:17
↓ 6 callers
Method
stats
(&self)
native/engine/src/memtable/table.rs:90
↓ 6 callers
Function
teardown
(path: &std::path::PathBuf)
native/engine/src/wal/tests/recovery/ddl_wal_first.rs:27
↓ 6 callers
Function
tmp
(name: &str)
native/engine/src/wal/tests/writer_rollback.rs:15
↓ 6 callers
Function
users_schema
()
native/engine/src/segment/tests/mod.rs:19
↓ 5 callers
Method
alloc_vec
Allocate a vector (f32 slice) into the arena.
native/engine/src/arena.rs:93
↓ 5 callers
Function
dedup_distinct
Deduplicate rows when DISTINCT is present.
native/engine/src/executor/filter.rs:106
↓ 5 callers
Method
distance
(&self, a: &[f32], b: &[f32])
native/engine/src/hnsw.rs:227
↓ 5 callers
Function
get_beam_rss
()
native/cli/src/main.rs:337
↓ 5 callers
Function
get_column_index
(schema: &str, table_name: &str, col_name: &str)
native/engine/src/catalog.rs:129
↓ 5 callers
Function
int_row
(id: i64)
native/engine/src/wal/tests/manager_tests.rs:11
↓ 5 callers
Function
key
(schema: &str, name: &str)
native/engine/src/sequence.rs:14
↓ 5 callers
Function
key
(schema: &str, name: &str)
native/engine/src/storage.rs:33
↓ 5 callers
Function
rows_to_arena
Convert a slice of storage rows to arena rows.
native/engine/src/arena.rs:345
↓ 5 callers
Method
send_msg
(&mut self, tag: u8, payload: &[u8])
native/cli/src/wire.rs:244
↓ 4 callers
Function
append_delete
Append a Delete entry keyed by the full row values.
native/engine/src/wal/manager/ops.rs:41
↓ 4 callers
Function
boot_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 callers
Function
check_not_null
Validate NOT NULL constraints on inserted/updated row.
native/engine/src/executor/helpers.rs:105
↓ 4 callers
Function
create_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 callers
Method
drain_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 callers
Function
drop_table
()
native/engine/src/executor/tests/crud.rs:39
↓ 4 callers
Function
eval_returning
Evaluate RETURNING clause expressions for affected rows.
native/engine/src/executor/returning.rs:12
↓ 4 callers
Function
execute_from
Execute FROM clause node and return joined rows with JoinContext.
native/engine/src/executor/from.rs:13
↓ 4 callers
Function
hmac_sha256
(key: &[u8], data: &[u8])
native/cli/src/wire.rs:270
↓ 4 callers
Function
less_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 callers
Function
overwrite_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 callers
Function
parse_seq_name
Parse a sequence name that may be schema-qualified.
native/engine/src/executor/helpers.rs:87
↓ 4 callers
Method
read_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 callers
Function
rename_table
(schema: &str, old_name: &str, new_name: &str)
native/engine/src/catalog.rs:138
↓ 4 callers
Function
reset
()
native/engine/src/sequence.rs:76
↓ 4 callers
Function
scan
(schema: &str, name: &str)
native/engine/src/storage.rs:153
↓ 4 callers
Method
scan
Iterate live (non-tombstoned) rows in insertion order.
native/engine/src/memtable/table.rs:72
↓ 4 callers
Function
scan_with
Zero-copy scan: runs callback with borrowed rows, avoids cloning.
native/engine/src/storage.rs:160
↓ 4 callers
Function
setup
(name: &str)
native/engine/src/wal/tests/recovery/alter_defaults.rs:11
↓ 4 callers
Function
setup
(name: &str)
native/engine/src/wal/tests/recovery/ddl_phantom_wal.rs:18
↓ 4 callers
Function
teardown
(path: &std::path::PathBuf)
native/engine/src/wal/tests/recovery/ddl_phantom_wal.rs:37
↓ 4 callers
Method
update_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 callers
Function
wipe_and_recover
()
native/engine/src/wal/tests/recovery/alter_defaults.rs:21
↓ 3 callers
Function
add_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