Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MohamedAbdeen21/niwid-db
/ functions
Functions
402 in github.com/MohamedAbdeen21/niwid-db
⨍
Functions
402
◇
Types & classes
70
↓ 3 callers
Method
concat
(mut self, other: ResultSet)
src/execution/result_set.rs:144
↓ 3 callers
Method
find_free_frame
(&mut self)
src/buffer_pool/mod.rs:95
↓ 3 callers
Method
get
()
src/catalog/mod.rs:42
↓ 3 callers
Method
get_info
(&self)
src/execution/result_set.rs:96
↓ 3 callers
Method
get_pin_count
(&self, page_id: &PageId)
src/buffer_pool/mod.rs:229
↓ 3 callers
Method
get_tuple
(&self, id: TupleId)
src/table/mod.rs:87
↓ 3 callers
Method
insert
(&mut self, key: Key, value: LeafValue)
src/pages/indexes/b_plus_tree/mod.rs:60
↓ 3 callers
Method
is_compatible
used when checking inserted rows for compatibility it is the user's responsibility to ensure that values match the table's schema (inserting UINT valu
src/types/mod.rs:54
↓ 3 callers
Method
is_empty
(&self)
src/execution/result_set.rs:108
↓ 3 callers
Method
iter
(&self, txn_id: Option<TxnId>)
src/indexes/b_plus_tree/btree.rs:273
↓ 3 callers
Method
last_tuple_offset
(&self)
src/pages/table_page.rs:119
↓ 3 callers
Method
mark_clean
(&mut self)
src/pages/mod.rs:83
↓ 3 callers
Function
print_row_divider
(buf: &mut String, col_widths: &[usize])
src/execution/result_set.rs:228
↓ 3 callers
Method
select
(mut self, indexes: Vec<usize>)
src/execution/result_set.rs:133
↓ 3 callers
Method
start_txn
(&self, txn_id: TxnId)
src/disk_manager/mod.rs:142
↓ 3 callers
Function
test_arc_bpm
(size: usize)
src/buffer_pool/mod.rs:398
↓ 3 callers
Function
test_arc_transaction_manager
(bpm: ArcBufferPool)
src/txn_manager/mod.rs:129
↓ 3 callers
Method
upgradable_rlock
(&self)
src/latch/mod.rs:37
↓ 2 callers
Method
add_tuple
(&mut self)
src/pages/table_page.rs:298
↓ 2 callers
Method
build_initial_plan
( &self, statement: Statement, txn_id: Option<TxnId>, )
src/sql/logical_plan/mod.rs:38
↓ 2 callers
Method
build_query
(&self, query: Box<Query>, txn_id: Option<TxnId>)
src/sql/logical_plan/mod.rs:342
↓ 2 callers
Method
check_nullability
(&self, tuple: &Tuple)
src/table/mod.rs:294
↓ 2 callers
Method
check_uniqueness
Returns None if no uniqueness is defined for the schema. Or Some(Key) if the tuple is unique, where Key is the unique value.
src/table/mod.rs:307
↓ 2 callers
Method
commit
(&mut self, txn: TxnId)
src/catalog/mod.rs:224
↓ 2 callers
Method
commit_txn
(&mut self)
src/context/mod.rs:60
↓ 2 callers
Function
entry
()
src/deployment/main.rs:26
↓ 2 callers
Function
format_message
(message: &str)
src/deployment/html_formatter.rs:75
↓ 2 callers
Method
free_space
(&self)
src/pages/table_page.rs:127
↓ 2 callers
Method
get_last_page_id
(&self)
src/table/mod.rs:126
↓ 2 callers
Method
get_next_page
(&self)
src/pages/table_page.rs:294
↓ 2 callers
Method
get_pair_at
(&self, index: usize)
src/pages/indexes/b_plus_tree/mod.rs:236
↓ 2 callers
Method
get_unique_column_id
(&self)
src/table/mod.rs:424
↓ 2 callers
Function
identity_plan
(values: &[Vec<Value>], fields: &[Field])
src/execution/mod.rs:850
↓ 2 callers
Method
insert_raw
similar to insert tuple but avoids adding the tuple metadata used mainly in blob pages
src/pages/table_page.rs:135
↓ 2 callers
Method
insert_tuple
(&mut self, tuple: &Tuple)
src/pages/table_page.rs:165
↓ 2 callers
Method
is_deleted
(&self)
src/tuple/mod.rs:205
↓ 2 callers
Method
is_dirty
(&self)
src/pages/mod.rs:91
↓ 2 callers
Method
is_full
(&self)
src/pages/indexes/b_plus_tree/mod.rs:241
↓ 2 callers
Method
is_null
(&self, field_id: u8)
src/tuple/mod.rs:201
↓ 2 callers
Method
is_qualified
(&self)
src/tuple/schema.rs:53
↓ 2 callers
Method
last_slot_offset
(&self)
src/pages/table_page.rs:88
↓ 2 callers
Method
mark_dirty
(&mut self)
src/pages/indexes/b_plus_tree/mod.rs:56
↓ 2 callers
Method
new_inner_page
returns a new pinned inner page
src/indexes/b_plus_tree/btree.rs:133
↓ 2 callers
Method
print
(&self)
src/execution/result_set.rs:171
↓ 2 callers
Method
read_bytes
(&self, start: usize, end: usize)
src/pages/mod.rs:103
↓ 2 callers
Method
read_from_file
(&self, page_id: PageId)
src/disk_manager/mod.rs:121
↓ 2 callers
Method
read_raw
Read tuple data without the metadata or setting the bitmap
src/pages/table_page.rs:238
↓ 2 callers
Method
read_tuple
(&self, slot: SlotId)
src/pages/table_page.rs:217
↓ 2 callers
Method
reorder
(&self, data: Vec<T>)
src/sql/logical_plan/plan.rs:500
↓ 2 callers
Method
rlock
(&self)
src/latch/mod.rs:17
↓ 2 callers
Method
rollback
(&mut self, txn: TxnId)
src/catalog/mod.rs:239
↓ 2 callers
Method
rollback_txn
(&mut self)
src/context/mod.rs:76
↓ 2 callers
Method
shadow_page
returns the original frame, already pinned
src/buffer_pool/mod.rs:245
↓ 2 callers
Method
take
(mut self, cap: u32)
src/execution/result_set.rs:72
↓ 2 callers
Method
to_sql
(&self)
src/types/mod.rs:40
↓ 2 callers
Method
to_string_unquoted
(&self)
src/types/mod.rs:156
↓ 2 callers
Method
union
(mut self, other: ResultSet)
src/execution/result_set.rs:112
↓ 2 callers
Method
upgrade_write
(&self)
src/latch/mod.rs:41
↓ 1 callers
Method
add
(&self, other: &Self)
src/types/mod.rs:168
↓ 1 callers
Method
add_table
( &mut self, table_name: &String, schema: &Schema, ignore_if_exists: bool,
src/catalog/mod.rs:133
↓ 1 callers
Method
build_assignemnt
(&self, assignment: Assignment)
src/sql/logical_plan/mod.rs:532
↓ 1 callers
Method
build_commit_transaction
(&self)
src/sql/logical_plan/mod.rs:233
↓ 1 callers
Method
build_create
( &self, name: ObjectName, columns: Vec<ColumnDef>, if_not_exists: bool, )
src/sql/logical_plan/mod.rs:543
↓ 1 callers
Method
build_delete
( &self, from: FromTable, selection: Option<Expr>, txn_id: Option<TxnId>,
src/sql/logical_plan/mod.rs:86
↓ 1 callers
Method
build_drop
( &self, object_type: ObjectType, if_exists: bool, names: Vec<ObjectName>,
src/sql/logical_plan/mod.rs:261
↓ 1 callers
Method
build_explain
( &self, statement: Statement, analyze: bool, txn_id: Option<TxnId>, )
src/sql/logical_plan/mod.rs:296
↓ 1 callers
Method
build_index_scan
( &self, table_name: String, schema: Schema, expr: BinaryExpr, )
src/sql/logical_plan/mod.rs:132
↓ 1 callers
Method
build_insert
( &self, table_name: ObjectName, source: Option<Box<Query>>, columns: Vec<Iden
src/sql/logical_plan/mod.rs:412
↓ 1 callers
Method
build_limit
( &self, root: LogicalPlan, limit: Option<Expr>, offset: Option<Expr>, )
src/sql/logical_plan/mod.rs:766
↓ 1 callers
Method
build_projections
( &self, projections: Vec<SelectItem>, schema: Schema, )
src/sql/logical_plan/mod.rs:816
↓ 1 callers
Method
build_rollback_transaction
(&self)
src/sql/logical_plan/mod.rs:229
↓ 1 callers
Method
build_source
( &self, table: Option<&TableWithJoins>, prewhere: Option<Expr>, txn_id: Optio
src/sql/logical_plan/mod.rs:561
↓ 1 callers
Method
build_start_transaction
(&self)
src/sql/logical_plan/mod.rs:225
↓ 1 callers
Method
build_truncate
( &self, table_names: Vec<TruncateTableTarget>, _table: bool, txn_id: Option<T
src/sql/logical_plan/mod.rs:237
↓ 1 callers
Method
build_union
( &self, left: Box<SetExpr>, right: Box<SetExpr>, quantifier: SetQuantifier,
src/sql/logical_plan/mod.rs:365
↓ 1 callers
Method
build_update
( &self, table: TableWithJoins, assignments: Vec<Assignment>, selection: Optio
src/sql/logical_plan/mod.rs:480
↓ 1 callers
Method
build_values
(&self, rows: Vec<Vec<Expr>>)
src/sql/logical_plan/mod.rs:309
↓ 1 callers
Method
can_evict
Check if a frame can be evicted Must check before calling [`self.evict`] as evict just unwraps the value
src/buffer_pool/replacer.rs:62
↓ 1 callers
Method
clone_context
(&self)
src/context/mod.rs:37
↓ 1 callers
Method
commit
Commit a version: apply all changes to the base map
src/catalog/versioned_map/mod.rs:73
↓ 1 callers
Method
commit_txn
Commit pages marked as touched during the transactions. locks should be upgraded by the calling txn_manager
src/buffer_pool/mod.rs:268
↓ 1 callers
Method
delete_tuple
(&mut self, slot: SlotId)
src/pages/table_page.rs:201
↓ 1 callers
Method
div
(&self, other: &Self)
src/types/mod.rs:212
↓ 1 callers
Method
drop_table
( &mut self, table_name: &String, ignore_if_exists: bool, txn: Option<TxnId>,
src/catalog/mod.rs:267
↓ 1 callers
Method
equ
(&self, other: &Self)
src/types/mod.rs:242
↓ 1 callers
Method
evict
Get the LRU frame to evict. Removes frame from heap, effectively resetting its access history
src/buffer_pool/replacer.rs:75
↓ 1 callers
Method
evict_frame
(&mut self)
src/buffer_pool/mod.rs:167
↓ 1 callers
Function
execute_query
(query: &str)
src/deployment/main.rs:76
↓ 1 callers
Function
execute_query
( buffer: &mut String, ctx: &mut Context, reader: &mut BufReader<OwnedReadHalf>, writer: &mut
src/local_server/mod.rs:86
↓ 1 callers
Method
find_index
find the index of a key in a leaf page
src/pages/indexes/b_plus_tree/mod.rs:118
↓ 1 callers
Method
find_leaf_mut
unpins the input page once the search is done
src/indexes/b_plus_tree/btree.rs:109
↓ 1 callers
Function
format_error
(error: String)
src/deployment/html_formatter.rs:66
↓ 1 callers
Function
format_index
()
src/deployment/html_formatter.rs:34
↓ 1 callers
Function
format_result_and_info
(result: ResultSet)
src/deployment/html_formatter.rs:38
↓ 1 callers
Method
get_blob_page_id
(&self)
src/table/mod.rs:131
↓ 1 callers
Method
get_first_page_id
(&self)
src/table/mod.rs:107
↓ 1 callers
Method
get_index
(&self)
src/table/mod.rs:115
↓ 1 callers
Method
get_null_bitmap
(&self)
src/tuple/mod.rs:209
↓ 1 callers
Method
get_root_page_id
(&self)
src/indexes/b_plus_tree/btree.rs:312
↓ 1 callers
Method
get_value_of
(&self, field: &str, schema: &Schema)
src/tuple/mod.rs:80
← previous
next →
101–200 of 402, ranked by callers