Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GraphLite-AI/GraphLite
/ functions
Functions
2,902 in github.com/GraphLite-AI/GraphLite
⨍
Functions
2,902
◇
Types & classes
654
↓ 1,409 callers
Method
clone
(&self)
graphlite/src/session/global_provider.rs:215
↓ 910 callers
Method
unwrap
Unwrap type-tagged values from Rust serde JSON format. Handles: {"String": "value"}, {"Number": 123}, {"Boolean": true}, etc.
bindings/java/src/main/java/io/graphlite/QueryResult.java:68
↓ 718 callers
Method
len
ROADMAP v0.5.0 - Current top-K result count
graphlite/src/exec/streaming_topk.rs:175
↓ 661 callers
Method
query
Execute a query
graphlite/tests/testutils/test_fixture.rs:218
↓ 582 callers
Method
assert_query_succeeds
Execute query via CLI and expect success
graphlite/tests/testutils/cli_fixture.rs:69
↓ 431 callers
Function
expect_token
Expect a specific token
graphlite/src/ast/parser.rs:3450
↓ 398 callers
Method
iter
( &self, )
graphlite/src/storage/persistent/sled.rs:58
↓ 394 callers
Method
insert
Insert plan into cache
graphlite/src/cache/plan_cache.rs:181
↓ 228 callers
Method
get
Get a function by name
graphlite/src/functions/mod.rs:268
↓ 154 callers
Method
contains
Check if a datetime falls within this time window
graphlite/src/storage/value.rs:80
↓ 145 callers
Method
as_str
Get the string representation for queries
graphlite/src/ast/ast.rs:300
↓ 126 callers
Method
get
Get a value by column name
graphlite/tests/testutils/cli_fixture.rs:211
↓ 121 callers
Method
first
Get the first row as the given type Convenience method for queries that return a single row. # Type Parameters `T` - Type to deserialize into (must
sdk-rust/src/result.rs:172
↓ 118 callers
Method
get
Get immutable reference to a catalog provider # Arguments `name` - Name of the catalog to retrieve # Returns `Some(&Box<dyn CatalogProvider>)` if ca
graphlite/src/catalog/registry.rs:77
↓ 108 callers
Method
is_empty
ROADMAP v0.3.0 - Check if transaction has any undo operations for ROLLBACK decision
graphlite/src/txn/log.rs:245
↓ 105 callers
Method
is_empty
ROADMAP v0.5.0 - Empty check for top-K processing
graphlite/src/exec/streaming_topk.rs:181
↓ 101 callers
Method
setup_graph
Setup a fresh graph for testing (drops if exists, then creates) Use this at the start of each test to ensure isolation
graphlite/tests/testutils/test_fixture.rs:195
↓ 86 callers
Method
execute
Execute a statement without returning results Args: statement: GQL statement to execute Raises: Que
sdk-python/src/graphlite_sdk/connection.py:121
↓ 78 callers
Method
process_query
Execute a query with session ID This is the main entry point for query execution. # Arguments `query_text` - The GQL query string to execute `sessio
graphlite/src/coordinator/query_coordinator.rs:247
↓ 75 callers
Method
assert_first_value
Assert first value
graphlite/tests/testutils/test_fixture.rs:243
↓ 69 callers
Method
register
Register a new function
graphlite/src/functions/mod.rs:263
↓ 65 callers
Method
execute
Execute the query and return results Builds and executes the query in one step. # Examples ```no_run # use graphlite_sdk::GraphLite; # let db = Gra
sdk-rust/src/query.rs:328
↓ 60 callers
Method
execute
Main execution method - handles the complete DDL operation flow
graphlite/src/exec/schema_engine/operations/ddl_statement_base.rs:21
↓ 60 callers
Function
validate_expression
Validate a single expression
graphlite/src/ast/validator.rs:1107
↓ 58 callers
Method
get_argument
Get a specific argument by index
graphlite/src/functions/function_trait.rs:82
↓ 57 callers
Method
remove
(&self, key: &[u8])
graphlite/src/storage/persistent/sled.rs:35
↓ 55 callers
Function
tag_token
ROADMAP v0.4.0 - Token matcher for parser combinators
graphlite/src/schema/parser/graph_type.rs:506
↓ 53 callers
Method
as_string
Extract as string if possible
graphlite/src/storage/value.rs:176
↓ 53 callers
Method
get
(&self, key: &[u8])
graphlite/src/storage/persistent/sled.rs:28
↓ 50 callers
Method
hash
(&self, state: &mut H)
graphlite/src/exec/result.rs:356
↓ 50 callers
Method
is_null
Check if value is null
graphlite/src/storage/value.rs:310
↓ 46 callers
Method
hash
(&self, state: &mut H)
graphlite/src/cache/subquery_cache.rs:141
↓ 45 callers
Method
contains_key
(&self, key: &[u8])
graphlite/src/storage/persistent/sled.rs:42
↓ 44 callers
Method
evaluate_expression
Evaluate an expression in the given context (legacy method)
graphlite/src/exec/executor.rs:4587
↓ 42 callers
Method
get_mut
Get mutable reference to a catalog provider # Arguments `name` - Name of the catalog to retrieve # Returns `Some(&mut Box<dyn CatalogProvider>)` if
graphlite/src/catalog/registry.rs:89
↓ 41 callers
Method
as_number
Extract as number if possible
graphlite/src/storage/value.rs:168
↓ 40 callers
Method
assert_query_fails
Execute query via CLI and expect failure
graphlite/tests/testutils/cli_fixture.rs:110
↓ 40 callers
Method
get_row_count
Get the estimated row count of this node
graphlite/src/plan/operators/physical.rs:1202
↓ 39 callers
Method
elapsed
ROADMAP v0.4.0 - Timer elapsed accessor (see ROADMAP.md §6)
graphlite/src/storage/indexes/metrics.rs:576
↓ 38 callers
Method
insert_fraud_data
Insert fraud detection test data (accounts, merchants, transactions) Call this after setup_graph() to populate a fresh graph with fraud data
graphlite/tests/testutils/test_fixture.rs:135
↓ 32 callers
Function
expect_identifier
Helper function to expect a specific identifier (case-insensitive)
graphlite/src/ast/parser.rs:3500
↓ 29 callers
Method
get_value
Get a value by variable name
graphlite/src/exec/result.rs:233
↓ 29 callers
Method
next
(&mut self)
graphlite/src/exec/row_iterator.rs:94
↓ 27 callers
Method
execute
(&self, context: &FunctionContext)
graphlite/src/functions/temporal_functions.rs:206
↓ 27 callers
Method
insert
(&self, key: &[u8], value: &[u8])
graphlite/src/storage/persistent/sled.rs:21
↓ 27 callers
Function
parse_query
Parse a GQL query or statement into an AST Document
graphlite/src/ast/parser.rs:95
↓ 27 callers
Method
validate_argument_count
Check if the function has the expected number of arguments
graphlite/src/functions/function_trait.rs:97
↓ 26 callers
Method
create_simple_session
Create a simple session with default permissions (Simplified API) This is the recommended way to create a session for most use cases. It creates a se
graphlite/src/coordinator/query_coordinator.rs:386
↓ 26 callers
Method
execute
Execute a statement without returning results Args: session_id: Session ID from create_session() statement:
bindings/python/graphlite/graphlite.py:299
↓ 26 callers
Method
open_tree
(&self, name: &str)
graphlite/src/storage/persistent/sled.rs:121
↓ 25 callers
Method
get_node
Get a node by ID
graphlite/src/storage/graph_cache.rs:138
↓ 25 callers
Function
set_error
Helper function to set error code if output pointer is not null
graphlite-ffi/src/lib.rs:404
↓ 24 callers
Method
get_cost
Get the estimated cost of this node
graphlite/src/plan/operators/physical.rs:1161
↓ 23 callers
Function
dummy_location
Helper to create a dummy location for tests
graphlite/src/exec/write_engine/operations/delete.rs:363
↓ 23 callers
Method
get_graph_name
Get the graph name for operations using session-aware resolution Returns full path in /<schema-name>/<graph-name> format
graphlite/src/exec/context.rs:250
↓ 23 callers
Method
query_read_only
Execute a read-only query on a catalog This method only accepts query operations and uses immutable access, allowing for concurrent read operations.
graphlite/src/catalog/manager.rs:106
↓ 20 callers
Method
add
Add another cost estimate to this one
graphlite/src/plan/cost.rs:104
↓ 19 callers
Method
persist_catalog
Save a specific catalog to storage Persists the state of a single catalog to storage. # Arguments `catalog_name` - Name of the catalog to save # Re
graphlite/src/catalog/manager.rs:214
↓ 19 callers
Method
query
Execute a GQL query in this session This is the main method for executing queries. For simple read queries, this is all you need. For multi-statement
sdk-rust/src/connection.rs:172
↓ 17 callers
Method
as_array
Extract as array if possible
graphlite/src/storage/value.rs:237
↓ 17 callers
Function
is_keyword_match
Check if a keyword match has a proper word boundary
graphlite/src/ast/lexer.rs:431
↓ 16 callers
Method
get_all_nodes
Get all nodes in the graph
graphlite/src/storage/graph_cache.rs:166
↓ 16 callers
Method
register_function
Register a function signature
graphlite/src/types/inference.rs:145
↓ 15 callers
Method
add
ROADMAP v0.5.0 - Add rows to top-K heap for streaming filtering
graphlite/src/exec/streaming_topk.rs:143
↓ 15 callers
Method
clear
ROADMAP v0.3.0 - Clear transaction log after COMMIT/ROLLBACK completion
graphlite/src/txn/log.rs:237
↓ 15 callers
Function
create_test_row
(id: usize, score: f64)
graphlite/src/exec/streaming_topk.rs:273
↓ 15 callers
Method
data
Extract data from a successful response
graphlite/src/catalog/operations.rs:346
↓ 15 callers
Method
get_graph
Get a graph by name (readonly)
graphlite/src/exec/executor.rs:644
↓ 15 callers
Method
has_entities
Check if this row has any tracked entities
graphlite/src/exec/result.rs:280
↓ 15 callers
Method
is_numeric
Check if this type is a numeric type
graphlite/src/ast/ast.rs:1494
↓ 15 callers
Method
load
(&mut self, data: &[u8])
graphlite/src/schema/catalog/graph_type.rs:290
↓ 15 callers
Function
parse_iso_datetime
Parse ISO 8601 datetime string into DateTime<Utc> Supports formats like: - 2024-01-15T10:30:45Z - 2024-01-15T10:30:45.123Z - 2024-01-15T10:30:45+00:0
graphlite/src/functions/temporal_functions.rs:1045
↓ 15 callers
Method
query
Execute a GQL query Args: query: GQL query string Returns: QueryResult with rows and metadata
sdk-python/src/graphlite_sdk/connection.py:103
↓ 15 callers
Method
set_variable
Set a local variable with type information
graphlite/src/exec/context.rs:148
↓ 14 callers
Method
evaluate_expression_in_row
Evaluate an expression within a specific row context
graphlite/src/exec/executor.rs:2528
↓ 14 callers
Method
get_variable
Get a variable value, checking session parameters first, then local variables
graphlite/src/exec/context.rs:134
↓ 14 callers
Method
is_empty
Check if result is empty
graphlite/tests/testutils/cli_fixture.rs:198
↓ 14 callers
Method
open
Open a GraphLite database at the given path Args: path: Path to the database directory Returns: Gra
sdk-python/src/graphlite_sdk/connection.py:38
↓ 13 callers
Method
get_current_graph_name
Get current graph name from session
graphlite/src/exec/context.rs:173
↓ 13 callers
Method
get_session
Get the user session from session provider
graphlite/src/exec/context.rs:127
↓ 13 callers
Method
is_temporal
Check if this type is a temporal type
graphlite/src/ast/ast.rs:1480
↓ 13 callers
Method
save_graph
Save a graph Updates cache, memory store (if available), and persistent storage
graphlite/src/storage/storage_manager.rs:209
↓ 13 callers
Method
session
Create a new session for the given user Args: username: Username for the session Returns: Session i
sdk-python/src/graphlite_sdk/connection.py:57
↓ 13 callers
Function
tag_token
Helper function for tag_token (alias for expect_token for compatibility)
graphlite/src/ast/parser.rs:3471
↓ 12 callers
Method
add_value
Add a value to the row (both named and positional)
graphlite/src/exec/result.rs:227
↓ 12 callers
Method
allocate
ROADMAP v0.2.0 - Memory budget enforcement for large queries (see ROADMAP.md §1)
graphlite/src/exec/memory_budget.rs:107
↓ 12 callers
Method
close
Close the database connection
sdk-python/src/graphlite_sdk/connection.py:76
↓ 12 callers
Function
create_tutorial_test_fixture
Helper function to create test fixture with tutorial-like sample data for set operations
graphlite/tests/set_operations_tests.rs:58
↓ 12 callers
Function
dummy_location
Helper to create a dummy location for tests
graphlite/src/exec/write_engine/operations/match_insert.rs:1044
↓ 12 callers
Function
dummy_location
Helper to create a dummy location for tests
graphlite/src/exec/write_engine/operations/match_delete.rs:753
↓ 12 callers
Method
get_manager
Get the global session manager Returns None if the global manager hasn't been initialized yet.
graphlite/src/session/global_provider.rs:120
↓ 12 callers
Method
insert_simple_data
Insert simple test data (test nodes and relationships) Call this after setup_graph() to populate a fresh graph with simple data
graphlite/tests/testutils/test_fixture.rs:93
↓ 11 callers
Function
create_simple_test_fixture
Helper function to create simple test fixture without relationships
graphlite/tests/set_operations_tests.rs:13
↓ 11 callers
Method
exists
Check if a graph type exists
graphlite/src/schema/catalog/graph_type.rs:117
↓ 11 callers
Method
len
Get the number of rows
graphlite/tests/testutils/cli_fixture.rs:193
↓ 11 callers
Function
pretty_print_ast
Pretty print an AST Document with indented tree structure and debug logging
graphlite/src/ast/pretty_printer.rs:11
↓ 10 callers
Method
__init__
(self, message: str)
sdk-python/src/graphlite_sdk/error.py:68
↓ 10 callers
Method
execute
(&self, context: &FunctionContext)
graphlite/src/functions/null_functions.rs:40
↓ 10 callers
Method
execute
Execute operation on specific catalog This is the main entry point for all catalog operations. The operation is routed to the appropriate catalog pro
graphlite/src/catalog/manager.rs:81
↓ 10 callers
Method
execute
(&mut self, op: CatalogOperation)
graphlite/src/catalog/providers/schema.rs:490
next →
1–100 of 2,902, ranked by callers