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
↓ 1 callers
Function
handle_client
(socket: TcpStream, client_id: usize)
src/local_server/mod.rs:24
↓ 1 callers
Method
increment_page_id
(&mut self)
src/buffer_pool/mod.rs:87
↓ 1 callers
Method
insert_first_pair
helper to populate a new inner page
src/pages/indexes/b_plus_tree/mod.rs:141
↓ 1 callers
Method
insert_into_page
Inserts key-value pair to a page. If a split happens, return the page id of the new page and the median value to be used by parent (caller function) o
src/indexes/b_plus_tree/btree.rs:170
↓ 1 callers
Method
insert_string
(&mut self, bytes: &[u8])
src/table/mod.rs:139
↓ 1 callers
Method
insert_strings
(&mut self, tuple: Tuple)
src/table/mod.rs:182
↓ 1 callers
Method
inspect
(&self)
src/buffer_pool/mod.rs:47
↓ 1 callers
Method
is_locked
check if page is locked by ANY transaction should check if page is locked by same txn first
src/txn_manager/mod.rs:52
↓ 1 callers
Method
is_null
(&self)
src/types/mod.rs:348
↓ 1 callers
Method
last_slot
(&self)
src/pages/table_page.rs:110
↓ 1 callers
Method
mark_deleted
(&mut self)
src/tuple/mod.rs:196
↓ 1 callers
Method
mark_dirty
(&mut self)
src/pages/mod.rs:87
↓ 1 callers
Method
mul
(&self, other: &Self)
src/types/mod.rs:194
↓ 1 callers
Method
new_leaf_page
returns a new pinned leaf page
src/indexes/b_plus_tree/btree.rs:123
↓ 1 callers
Method
new_root
( &mut self, txn: Option<TxnId>, mut root: IndexPage, right_page: IndexPage,
src/indexes/b_plus_tree/btree.rs:234
↓ 1 callers
Function
optimize_logical_plan
(plan: LogicalPlan)
src/sql/logical_plan/optimizer.rs:3
↓ 1 callers
Function
parse
(sql: impl Into<String>)
src/sql/parser.rs:4
↓ 1 callers
Method
parse_boolean_expr
( &self, left: Expr, op: BinaryOperator, right: Expr, )
src/sql/logical_plan/mod.rs:898
↓ 1 callers
Method
pin
(&mut self)
src/buffer_pool/frame.rs:32
↓ 1 callers
Method
print_indent
(&self, indent: usize)
src/sql/logical_plan/plan.rs:45
↓ 1 callers
Method
recover_txns
(&self)
src/disk_manager/mod.rs:59
↓ 1 callers
Method
release_upgradable
(&self)
src/latch/mod.rs:46
↓ 1 callers
Method
rollback
rollback a version: discard all changes without applying them
src/catalog/versioned_map/mod.rs:92
↓ 1 callers
Method
scan
( &self, txn_id: Option<TxnId>, mut f: impl FnMut(&(Key, TupleId)) -> Result<()>,
src/indexes/b_plus_tree/btree.rs:304
↓ 1 callers
Function
serve_css
()
src/deployment/main.rs:54
↓ 1 callers
Function
serve_frontend
()
src/deployment/main.rs:64
↓ 1 callers
Method
set_info
(&mut self, info: String)
src/execution/result_set.rs:100
↓ 1 callers
Method
set_latch
(&mut self, latch: Arc<Latch>)
src/pages/mod.rs:112
↓ 1 callers
Method
set_next_page_id
(&mut self, page_id: PageId)
src/pages/table_page.rs:72
↓ 1 callers
Method
skip
(mut self, skip: u32)
src/execution/result_set.rs:79
↓ 1 callers
Function
skip_comments
(buffer: &mut String, reader: &mut BufReader<OwnedReadHalf>)
src/local_server/mod.rs:69
↓ 1 callers
Method
split_inner
(&mut self, mut new_page: IndexPage)
src/pages/indexes/b_plus_tree/mod.rs:148
↓ 1 callers
Method
split_leaf
(&mut self, mut new_page: IndexPage)
src/pages/indexes/b_plus_tree/mod.rs:175
↓ 1 callers
Method
start
(&mut self)
src/txn_manager/mod.rs:41
↓ 1 callers
Method
start_txn
(&mut self, txn_id: TxnId)
src/buffer_pool/mod.rs:234
↓ 1 callers
Method
str
(&self)
src/types/mod.rs:130
↓ 1 callers
Method
sub
(&self, other: &Self)
src/types/mod.rs:181
↓ 1 callers
Method
take_page
(&mut self, frame: Self)
src/buffer_pool/frame.rs:53
↓ 1 callers
Function
test_arc_catalog
(bpm: ArcBufferPool, txn_manager: ArcTransactionManager)
src/catalog/mod.rs:290
↓ 1 callers
Method
to_bytes
(&self)
src/types/mod.rs:313
↓ 1 callers
Method
to_bytes
(&self)
src/tuple/mod.rs:143
↓ 1 callers
Method
truncate_table
(&mut self, table_name: &String, txn: Option<TxnId>)
src/catalog/mod.rs:253
↓ 1 callers
Method
update
(&mut self, tuple_id: Option<TupleId>, new_tuple: Tuple)
src/table/mod.rs:432
↓ 1 callers
Function
values_to_exprs
(values: &[Vec<Value>])
src/execution/mod.rs:855
Method
and
(&self, other: &Self)
src/types/mod.rs:228
Method
build_catalog
( bpm: &mut ArcBufferPool, txn_manager: &mut ArcTransactionManager, table: Table,
src/catalog/mod.rs:56
Method
commit
(&mut self, txn_id: TxnId)
src/txn_manager/mod.rs:82
Method
default
()
src/types/mod.rs:377
Method
default
()
src/sql/logical_plan/plan.rs:35
Method
default
()
src/tuple/mod.rs:181
Method
default
()
src/tuple/schema.rs:19
Method
default
()
src/tuple/constraints.rs:10
Method
default
()
src/pages/mod.rs:65
Method
default
()
src/buffer_pool/frame.rs:18
Method
default
()
src/context/mod.rs:18
Method
default
()
src/deployment/html_formatter.rs:27
Method
delete
(&mut self, key: Key)
src/pages/indexes/b_plus_tree/mod.rs:88
Method
drop
(&mut self)
src/buffer_pool/mod.rs:364
Method
drop
(&mut self)
src/disk_manager/mod.rs:224
Function
entry
()
src/local_server/mod.rs:12
Method
eq
(&self, other: &Self)
src/types/mod.rs:259
Method
eq
(&self, other: &Self)
src/table/mod.rs:31
Method
fetch
( bpm: &mut ArcBufferPool, txn_manager: &mut ArcTransactionManager, name: String,
src/table/mod.rs:61
Method
fetch
( root_page_id: PageId, bpm: ArcBufferPool, txn_manager: ArcTransactionManager, )
src/indexes/b_plus_tree/btree.rs:47
Method
find_leaf
find the leaf page that contains a key
src/pages/indexes/b_plus_tree/mod.rs:127
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/types/mod.rs:334
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/errors/mod.rs:30
Method
from
(b: bool)
src/sql/logical_plan/mod.rs:967
Method
from
(page: &'a mut Page)
src/pages/table_page.rs:261
Method
from
(page: &'a Page)
src/pages/indexes/b_plus_tree/mod.rs:204
Method
from_bytes
(_bytes: &[u8])
src/types/mod.rs:325
Method
from_bytes
(bytes: &[u8])
src/tuple/mod.rs:147
Method
from_bytes
(bytes: &[u8])
src/tuple/schema.rs:181
Method
from_bytes
(bytes: &[u8])
src/pages/mod.rs:42
Method
from_bytes
(bytes: &[u8])
src/pages/table_page.rs:320
Method
from_bytes
(bytes: &[u8])
src/pages/indexes/b_plus_tree/leaf_value.rs:27
Method
from_char
(value: char)
src/types/mod.rs:568
Method
from_raw_bytes
Interpret bytes as string
src/types/mod.rs:491
Method
from_rows
(fields: Vec<Field>, rows: Vec<Vec<Value>>)
src/execution/result_set.rs:48
Method
from_sql
(s: &str)
src/types/mod.rs:69
Method
from_sql
(ident: Vec<Option<String>>, schema: Schema)
src/tuple/mod.rs:57
Method
from_sql
(cols: Vec<ColumnDef>)
src/tuple/schema.rs:94
Method
from_string
(s: &str)
src/types/mod.rs:381
Method
from_tuple
(field: Vec<Field>, tuple: Vec<Value>, cap: usize)
src/execution/result_set.rs:88
Method
get
(&self, version: Option<u64>, key: &K)
src/catalog/versioned_map/mod.rs:31
Method
get_index_page_id
(&self)
src/table/mod.rs:119
Method
get_latch
(&self)
src/pages/table_page.rs:54
Method
get_page_id
(&self)
src/pages/mod.rs:59
Method
get_pin_count
(&self)
src/buffer_pool/frame.rs:40
Method
get_schema
(&self, table_name: &str, txn: Option<TxnId>)
src/catalog/mod.rs:181
Method
get_type
(&self)
src/pages/indexes/b_plus_tree/mod.rs:263
Function
handle_client
(event: Request)
src/deployment/main.rs:36
Method
is_dirty
(&self)
src/pages/table_page.rs:68
Method
is_empty
(&self)
src/pages/indexes/b_plus_tree/mod.rs:246
Method
is_locked
(&self)
src/latch/mod.rs:50
Function
main
()
src/main.rs:6
Function
main
()
src/deployment/main.rs:22
Method
name
(&self)
src/sql/logical_plan/plan.rs:225
Method
new
(catalog: ArcCatalog)
src/sql/logical_plan/mod.rs:32
Method
new
(input: LogicalPlan, limit: u32, offset: u32)
src/sql/logical_plan/plan.rs:105
← previous
next →
201–300 of 402, ranked by callers