MCPcopy Create free account

hub / github.com/JagritGumber/evolvsql / functions

Functions735 in github.com/JagritGumber/evolvsql

↓ 1 callersFunctionenable_from_env
Enable the WAL from environment variables. Returns Ok(true) if enabled, Ok(false) if disabled via env, Err on open failure.
native/engine/src/wal/manager/lifecycle.rs:23
↓ 1 callersFunctionencode_header
Encode the fixed-size header at byte 0 of the segment file.
native/engine/src/segment/format.rs:39
↓ 1 callersFunctioneval_a_expr
Evaluate A_Expr nodes (IN, LIKE, BETWEEN, arithmetic, comparison, vector ops).
native/engine/src/executor/expr_ops.rs:11
↓ 1 callersFunctioneval_aconst
(ac: &pg_query::protobuf::AConst, arena: &mut QueryArena)
native/engine/src/executor/expr.rs:40
↓ 1 callersFunctioneval_all_sublink
( sl: &pg_query::protobuf::SubLink, sel: &pg_query::protobuf::SelectStmt, row: &[ArenaValue], ctx: &Jo
native/engine/src/executor/sublink.rs:62
↓ 1 callersFunctioneval_any_sublink
( sl: &pg_query::protobuf::SubLink, sel: &pg_query::protobuf::SelectStmt, row: &[ArenaValue], ctx: &Jo
native/engine/src/executor/sublink.rs:41
↓ 1 callersFunctioneval_between
( expr: &pg_query::protobuf::AExpr, row: &[ArenaValue], ctx: &JoinContext, arena: &mut QueryArena, )
native/engine/src/executor/expr_ops_ext.rs:21
↓ 1 callersFunctioneval_bool_expr
Evaluate boolean expressions (AND, OR, NOT) with three-valued logic.
native/engine/src/executor/expr_logic.rs:9
↓ 1 callersFunctioneval_case_expr
Evaluate CASE WHEN expressions (simple and searched forms).
native/engine/src/executor/expr_logic.rs:50
↓ 1 callersFunctioneval_coalesce
( ce: &pg_query::protobuf::CoalesceExpr, row: &[ArenaValue], ctx: &JoinContext, arena: &mut QueryArena, )
native/engine/src/executor/expr.rs:79
↓ 1 callersFunctioneval_comparison_op
(op: &str, left: &ArenaValue, right: &ArenaValue, arena: &QueryArena)
native/engine/src/executor/filter.rs:59
↓ 1 callersFunctioneval_concat
(left: &ArenaValue, right: &ArenaValue, arena: &mut QueryArena)
native/engine/src/executor/expr_ops_ext.rs:54
↓ 1 callersFunctioneval_expr_value
DML bridge: evaluate expression on Value rows using a shared arena.
native/engine/src/executor/filter.rs:49
↓ 1 callersFunctioneval_func_call
Dispatch function calls to eval_scalar_function.
native/engine/src/executor/func.rs:9
↓ 1 callersFunctioneval_having
Evaluate HAVING clause on aggregated group.
native/engine/src/executor/having.rs:13
↓ 1 callersFunctioneval_having_bool
( be: &pg_query::protobuf::BoolExpr, group_rows: &[Vec<ArenaValue>], ctx: &JoinContext, arena: &mut QueryA
native/engine/src/executor/having.rs:59
↓ 1 callersFunctioneval_in
(expr: &pg_query::protobuf::AExpr, row: &[ArenaValue], ctx: &JoinContext, arena: &mut QueryArena)
native/engine/src/executor/expr_ops.rs:73
↓ 1 callersFunctioneval_like
(expr: &pg_query::protobuf::AExpr, row: &[ArenaValue], ctx: &JoinContext, arena: &mut QueryArena)
native/engine/src/executor/expr_ops.rs:95
↓ 1 callersFunctioneval_math_func
Evaluate math functions: ceil, floor, round, mod, power, sqrt.
native/engine/src/executor/func_math.rs:6
↓ 1 callersFunctioneval_null_test
( nt: &pg_query::protobuf::NullTest, row: &[ArenaValue], ctx: &JoinContext, arena: &mut QueryArena, )
native/engine/src/executor/expr.rs:69
↓ 1 callersFunctioneval_nullif
( expr: &pg_query::protobuf::AExpr, row: &[ArenaValue], ctx: &JoinContext, arena: &mut QueryArena, )
native/engine/src/executor/expr_ops_ext.rs:8
↓ 1 callersFunctioneval_nullif_expr
( ni: &pg_query::protobuf::NullIfExpr, row: &[ArenaValue], ctx: &JoinContext, arena: &mut QueryArena, )
native/engine/src/executor/expr.rs:91
↓ 1 callersFunctioneval_scalar_function
Evaluate scalar functions (string, math, sequence, type conversion).
native/engine/src/executor/func.rs:20
↓ 1 callersFunctioneval_seq_func
(name: &str, args: &[ArenaValue], arena: &mut QueryArena)
native/engine/src/executor/func.rs:69
↓ 1 callersFunctioneval_string_func
Evaluate string functions: substring, trim, strpos, replace, left, right, split_part.
native/engine/src/executor/func_str.rs:4
↓ 1 callersFunctioneval_string_literal
(s: &pg_query::protobuf::String, arena: &mut QueryArena)
native/engine/src/executor/expr.rs:60
↓ 1 callersFunctioneval_sublink
Evaluate SubLink (subquery expressions: EXISTS, IN, ALL, scalar).
native/engine/src/executor/sublink.rs:11
↓ 1 callersFunctioneval_type_cast
Evaluate TypeCast expressions (::int, ::text, ::vector, etc.).
native/engine/src/executor/expr_cast.rs:10
↓ 1 callersFunctioneval_unary_minus
( expr: &pg_query::protobuf::AExpr, row: &[ArenaValue], ctx: &JoinContext, arena: &mut QueryArena, )
native/engine/src/executor/expr_ops_ext.rs:42
↓ 1 callersFunctioneval_vector_op
( op: &str, left: &ArenaValue, right: &ArenaValue, arena: &QueryArena, )
native/engine/src/executor/expr_ops_ext.rs:65
↓ 1 callersFunctioneval_where
Filter rows by WHERE clause, returns boolean result.
native/engine/src/executor/filter.rs:12
↓ 1 callersFunctionevaluate_window_functions
Evaluate all window functions, returning a Vec<Vec<ArenaValue>> where result[row_idx][window_fn_idx] is the computed value.
native/engine/src/window.rs:237
↓ 1 callersFunctionexec_aggregate_post
( select: &pg_query::protobuf::SelectStmt, ctx: &JoinContext, rows: Vec<Vec<ArenaValue>>, arena: &mut
native/engine/src/executor/select_post.rs:62
↓ 1 callersFunctionexec_alter_table
Execute ALTER TABLE (ADD/DROP COLUMN).
native/engine/src/executor/ddl_alter.rs:30
↓ 1 callersFunctionexec_create_table
Execute CREATE TABLE.
native/engine/src/executor/ddl.rs:11
↓ 1 callersFunctionexec_create_table_as
(ctas: &pg_query::protobuf::CreateTableAsStmt)
native/engine/src/executor/ddl_ctas.rs:15
↓ 1 callersFunctionexec_delete
Execute DELETE with optional WHERE and RETURNING.
native/engine/src/executor/delete.rs:10
↓ 1 callersFunctionexec_drop
Execute DROP TABLE.
native/engine/src/executor/ddl_alter.rs:12
↓ 1 callersFunctionexec_general_select
General path: JOINs, implicit joins, subqueries, correlated.
native/engine/src/executor/select_general.rs:9
↓ 1 callersFunctionexec_insert
Execute INSERT with VALUES, SELECT, defaults, constraints, ON CONFLICT.
native/engine/src/executor/insert.rs:15
↓ 1 callersFunctionexec_insert_standard
( insert: &pg_query::protobuf::InsertStmt, table_def: &catalog::Table, schema: &str, table_name: &str,
native/engine/src/executor/insert.rs:93
↓ 1 callersFunctionexec_insert_upsert
( insert: &pg_query::protobuf::InsertStmt, oc: &pg_query::protobuf::OnConflictClause, table_def: &cata
native/engine/src/executor/insert.rs:75
↓ 1 callersFunctionexec_knn_fast_path
( select: &pg_query::protobuf::SelectStmt, ctx: &JoinContext, schema: &str, table_name: &str, knn: sup
native/engine/src/executor/select_fast.rs:60
↓ 1 callersFunctionexec_rename
Execute ALTER TABLE RENAME.
native/engine/src/executor/ddl_alter.rs:70
↓ 1 callersFunctionexec_select
Top-level SELECT executor, converts ArenaValue to string results.
native/engine/src/executor/select.rs:12
↓ 1 callersFunctionexec_select_aggregate
Execute GROUP BY with aggregation functions.
native/engine/src/executor/aggregate.rs:42
↓ 1 callersFunctionexec_select_raw_body
( select: &pg_query::protobuf::SelectStmt, outer: Option<(&[ArenaValue], &JoinContext)>, arena: &mut Query
native/engine/src/executor/select.rs:32
↓ 1 callersFunctionexec_select_raw_no_from
Handle SELECT with no FROM clause, returning raw Values.
native/engine/src/executor/select_nofrom.rs:10
↓ 1 callersFunctionexec_set_operation
Execute UNION / INTERSECT / EXCEPT set operations.
native/engine/src/executor/select_set.rs:12
↓ 1 callersFunctionexec_single_table_fast_path
Fast path: single-table query with no outer context.
native/engine/src/executor/select_fast.rs:15
↓ 1 callersFunctionexec_truncate
Execute TRUNCATE.
native/engine/src/executor/update.rs:69
↓ 1 callersFunctionexec_update
Execute UPDATE with optional WHERE and RETURNING.
native/engine/src/executor/update.rs:15
↓ 1 callersFunctionexecute_from_clause
Execute the full FROM clause, handling multiple comma-separated tables.
native/engine/src/executor/from.rs:93
↓ 1 callersFunctionexecute_hash_join
Hash join: build hash table on right side, probe with left side. O(N+M).
native/engine/src/executor/join.rs:46
↓ 1 callersFunctionexecute_join_expr
(je: &pg_query::protobuf::JoinExpr, arena: &mut QueryArena)
native/engine/src/executor/from.rs:54
↓ 1 callersFunctionexecute_range_subselect
(rs: &pg_query::protobuf::RangeSubselect, arena: &mut QueryArena)
native/engine/src/executor/from.rs:75
↓ 1 callersFunctionexecute_range_var
(rv: &pg_query::protobuf::RangeVar, arena: &mut QueryArena)
native/engine/src/executor/from.rs:22
↓ 1 callersFunctionextract_const_vector
Extract a constant vector from an AST node.
native/engine/src/executor/knn.rs:43
↓ 1 callersFunctionextract_equi_cols
Extract column indices for a simple equi-join: ON a.x = b.y.
native/engine/src/executor/join.rs:24
↓ 1 callersFunctionextract_window_targets
Extract window function targets from a SELECT target list.
native/engine/src/window.rs:73
↓ 1 callersFunctionfind_conflict_on
Find conflict on working (cloned) state. O(1) via hash index.
native/engine/src/storage.rs:654
↓ 1 callersFunctionget_rows_by_ids
Fetch rows by their row IDs (indices into the internal rows vec). Returns rows in the order of the provided IDs.
native/engine/src/storage.rs:888
↓ 1 callersFunctionhas_zone_order
Whether a value type participates in zone map min/max tracking. NaN floats are deliberately excluded: every NaN comparison via `less_than` returns fal
native/engine/src/segment/zone_map.rs:37
↓ 1 callersFunctionhnsw_insert
Add a single vector to the HNSW index (called after row insertion).
native/engine/src/storage.rs:850
↓ 1 callersFunctionhnsw_search
Search the HNSW index. Returns (distance, row_id) pairs sorted ascending.
native/engine/src/storage.rs:865
↓ 1 callersFunctioninfer_agg_oid
Infer OID for SUM/MIN/MAX from the first argument's column type.
native/engine/src/executor/aggregate.rs:125
↓ 1 callersFunctioninsert_upsert
Insert rows with ON CONFLICT handling. For each row: - If no conflict on specified columns: insert normally - If conflict + DO NOTHING: skip - If conf
native/engine/src/storage.rs:454
↓ 1 callersFunctionis_enabled
True if the WAL is currently enabled.
native/engine/src/wal/manager/lifecycle.rs:41
↓ 1 callersFunctionlist_all_tables
Every table in the catalog regardless of schema. Recovery paths that walk all tables (e.g. advancing SERIAL sequences after WAL replay) must use this,
native/engine/src/catalog.rs:101
↓ 1 callersMethodmatches_value
(&self, row: &[Value], arena: &QueryArena)
native/engine/src/executor/types.rs:82
↓ 1 callersFunctionmax_int_in_column
(schema: &str, table: &str, col_idx: usize)
native/engine/src/wal/recovery/apply/sequences.rs:54
↓ 1 callersFunctionml
ML = 1/ln(M) — computed at runtime since ln() is not const
native/engine/src/hnsw.rs:14
↓ 1 callersFunctionnested_loop_join
Nested loop join with WHERE clause filtering.
native/engine/src/executor/join.rs:116
↓ 1 callersMethodnext_entry
Read the next entry, or Ok(None) at clean EOF, or Err on corruption beyond the durable prefix. Torn writes (partial frame at tail) are treated as EOF
native/engine/src/wal/reader.rs:30
↓ 1 callersFunctionparse_ast
Parse SQL and return the full pg_query AST as JSON.
native/engine/src/parser.rs:20
↓ 1 callersFunctionparse_column_def
(col: &pg_query::protobuf::ColumnDef, table_name: &str, schema: &str, prev_seqs: &[(String, String)])
native/engine/src/executor/ddl.rs:58
↓ 1 callersFunctionparse_command_complete
(data: &[u8])
native/cli/src/wire.rs:317
↓ 1 callersFunctionparse_conflict_columns
Parse ON CONFLICT (col1, col2) conflict target into column indices.
native/engine/src/executor/insert_conflict.rs:26
↓ 1 callersFunctionparse_data_row
(data: &[u8])
native/cli/src/wire.rs:299
↓ 1 callersFunctionparse_on_conflict_set
Parse ON CONFLICT DO UPDATE SET clauses into (col_idx, expr) pairs.
native/engine/src/executor/insert_conflict.rs:37
↓ 1 callersFunctionparse_row_desc
(data: &[u8])
native/cli/src/wire.rs:280
↓ 1 callersFunctionparse_table_constraints
(table_elts: &[pg_query::protobuf::Node], columns: &mut [Column])
native/engine/src/executor/ddl.rs:98
↓ 1 callersFunctionparse_text_to_value
Parse text string back to typed Value based on column OID.
native/engine/src/executor/helpers.rs:76
↓ 1 callersFunctionparse_window_spec
Parse a pg_query WindowDef into a WindowSpec with resolved column indices.
native/engine/src/window.rs:37
↓ 1 callersFunctionpartition_rows
Group rows into partitions by partition key values. Returns Vec of partitions, each a Vec of original row indices.
native/engine/src/window.rs:177
↓ 1 callersFunctionprint_result
(result: &wire::QueryResult)
native/cli/src/main.rs:288
↓ 1 callersFunctionprotobuf_to_json
(result: &ParseResult)
native/engine/src/parser.rs:49
↓ 1 callersMethodprune_neighbors
(&mut self, node_id: usize, level: usize, max_neighbors: usize)
native/engine/src/hnsw.rs:276
↓ 1 callersFunctionquery_has_aggregates
Check if SELECT contains any aggregate functions.
native/engine/src/executor/aggregate.rs:19
↓ 1 callersMethodrand_f64
Simple xorshift64 PRNG — deterministic per-index, no external deps.
native/engine/src/hnsw.rs:269
↓ 1 callersMethodrandom_level
(&mut self)
native/engine/src/hnsw.rs:260
↓ 1 callersFunctionrebuild_hnsw
Rebuild only the HNSW vector index (row positions are positional).
native/engine/src/storage.rs:566
↓ 1 callersFunctionrecreate_for_table
Create any sequences referenced by NextVal defaults on this table. Idempotent: drops a leftover sequence with the same name first so recovery always s
native/engine/src/wal/recovery/apply/sequences.rs:27
↓ 1 callersFunctionremove_from_working_indexes
Remove a row's values from working (cloned) indexes.
native/engine/src/storage.rs:604
↓ 1 callersFunctionresolve_aggregate_sort_keys
Resolve ORDER BY keys for aggregate query results.
native/engine/src/executor/sort.rs:96
↓ 1 callersFunctionresolve_group_columns
Resolve GROUP BY column references.
native/engine/src/executor/aggregate.rs:31
↓ 1 callersFunctionresolve_ordinal_or_expr
Resolve ORDER BY ordinal. For ColumnRef targets, returns the column index. For expression targets, adds to expr_nodes and returns the temp column inde
native/engine/src/executor/sort.rs:72
↓ 1 callersFunctionresolve_sort_keys_with_exprs
Extended ORDER BY resolver that supports arbitrary expressions.
native/engine/src/executor/sort.rs:27
↓ 1 callersFunctionrun_bench
(conn: &mut wire::Connection, sql: &str, n: u32)
native/cli/src/main.rs:155
↓ 1 callersFunctionrun_concurrent
( host: &str, port: u16, user: &str, dbname: &str, password: &str, sql: &str, queries_per_client: u32,
native/cli/src/main.rs:198
← previousnext →201–300 of 735, ranked by callers