MCPcopy Create free account

hub / github.com/GraphLite-AI/GraphLite / functions

Functions2,902 in github.com/GraphLite-AI/GraphLite

↓ 1,409 callersMethodclone
(&self)
graphlite/src/session/global_provider.rs:215
↓ 910 callersMethodunwrap
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 callersMethodlen
ROADMAP v0.5.0 - Current top-K result count
graphlite/src/exec/streaming_topk.rs:175
↓ 661 callersMethodquery
Execute a query
graphlite/tests/testutils/test_fixture.rs:218
↓ 582 callersMethodassert_query_succeeds
Execute query via CLI and expect success
graphlite/tests/testutils/cli_fixture.rs:69
↓ 431 callersFunctionexpect_token
Expect a specific token
graphlite/src/ast/parser.rs:3450
↓ 398 callersMethoditer
( &self, )
graphlite/src/storage/persistent/sled.rs:58
↓ 394 callersMethodinsert
Insert plan into cache
graphlite/src/cache/plan_cache.rs:181
↓ 228 callersMethodget
Get a function by name
graphlite/src/functions/mod.rs:268
↓ 154 callersMethodcontains
Check if a datetime falls within this time window
graphlite/src/storage/value.rs:80
↓ 145 callersMethodas_str
Get the string representation for queries
graphlite/src/ast/ast.rs:300
↓ 126 callersMethodget
Get a value by column name
graphlite/tests/testutils/cli_fixture.rs:211
↓ 121 callersMethodfirst
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 callersMethodget
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 callersMethodis_empty
ROADMAP v0.3.0 - Check if transaction has any undo operations for ROLLBACK decision
graphlite/src/txn/log.rs:245
↓ 105 callersMethodis_empty
ROADMAP v0.5.0 - Empty check for top-K processing
graphlite/src/exec/streaming_topk.rs:181
↓ 101 callersMethodsetup_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 callersMethodexecute
Execute a statement without returning results Args: statement: GQL statement to execute Raises: Que
sdk-python/src/graphlite_sdk/connection.py:121
↓ 78 callersMethodprocess_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 callersMethodassert_first_value
Assert first value
graphlite/tests/testutils/test_fixture.rs:243
↓ 69 callersMethodregister
Register a new function
graphlite/src/functions/mod.rs:263
↓ 65 callersMethodexecute
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 callersMethodexecute
Main execution method - handles the complete DDL operation flow
graphlite/src/exec/schema_engine/operations/ddl_statement_base.rs:21
↓ 60 callersFunctionvalidate_expression
Validate a single expression
graphlite/src/ast/validator.rs:1107
↓ 58 callersMethodget_argument
Get a specific argument by index
graphlite/src/functions/function_trait.rs:82
↓ 57 callersMethodremove
(&self, key: &[u8])
graphlite/src/storage/persistent/sled.rs:35
↓ 55 callersFunctiontag_token
ROADMAP v0.4.0 - Token matcher for parser combinators
graphlite/src/schema/parser/graph_type.rs:506
↓ 53 callersMethodas_string
Extract as string if possible
graphlite/src/storage/value.rs:176
↓ 53 callersMethodget
(&self, key: &[u8])
graphlite/src/storage/persistent/sled.rs:28
↓ 50 callersMethodhash
(&self, state: &mut H)
graphlite/src/exec/result.rs:356
↓ 50 callersMethodis_null
Check if value is null
graphlite/src/storage/value.rs:310
↓ 46 callersMethodhash
(&self, state: &mut H)
graphlite/src/cache/subquery_cache.rs:141
↓ 45 callersMethodcontains_key
(&self, key: &[u8])
graphlite/src/storage/persistent/sled.rs:42
↓ 44 callersMethodevaluate_expression
Evaluate an expression in the given context (legacy method)
graphlite/src/exec/executor.rs:4587
↓ 42 callersMethodget_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 callersMethodas_number
Extract as number if possible
graphlite/src/storage/value.rs:168
↓ 40 callersMethodassert_query_fails
Execute query via CLI and expect failure
graphlite/tests/testutils/cli_fixture.rs:110
↓ 40 callersMethodget_row_count
Get the estimated row count of this node
graphlite/src/plan/operators/physical.rs:1202
↓ 39 callersMethodelapsed
ROADMAP v0.4.0 - Timer elapsed accessor (see ROADMAP.md §6)
graphlite/src/storage/indexes/metrics.rs:576
↓ 38 callersMethodinsert_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 callersFunctionexpect_identifier
Helper function to expect a specific identifier (case-insensitive)
graphlite/src/ast/parser.rs:3500
↓ 29 callersMethodget_value
Get a value by variable name
graphlite/src/exec/result.rs:233
↓ 29 callersMethodnext
(&mut self)
graphlite/src/exec/row_iterator.rs:94
↓ 27 callersMethodexecute
(&self, context: &FunctionContext)
graphlite/src/functions/temporal_functions.rs:206
↓ 27 callersMethodinsert
(&self, key: &[u8], value: &[u8])
graphlite/src/storage/persistent/sled.rs:21
↓ 27 callersFunctionparse_query
Parse a GQL query or statement into an AST Document
graphlite/src/ast/parser.rs:95
↓ 27 callersMethodvalidate_argument_count
Check if the function has the expected number of arguments
graphlite/src/functions/function_trait.rs:97
↓ 26 callersMethodcreate_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 callersMethodexecute
Execute a statement without returning results Args: session_id: Session ID from create_session() statement:
bindings/python/graphlite/graphlite.py:299
↓ 26 callersMethodopen_tree
(&self, name: &str)
graphlite/src/storage/persistent/sled.rs:121
↓ 25 callersMethodget_node
Get a node by ID
graphlite/src/storage/graph_cache.rs:138
↓ 25 callersFunctionset_error
Helper function to set error code if output pointer is not null
graphlite-ffi/src/lib.rs:404
↓ 24 callersMethodget_cost
Get the estimated cost of this node
graphlite/src/plan/operators/physical.rs:1161
↓ 23 callersFunctiondummy_location
Helper to create a dummy location for tests
graphlite/src/exec/write_engine/operations/delete.rs:363
↓ 23 callersMethodget_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 callersMethodquery_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 callersMethodadd
Add another cost estimate to this one
graphlite/src/plan/cost.rs:104
↓ 19 callersMethodpersist_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 callersMethodquery
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 callersMethodas_array
Extract as array if possible
graphlite/src/storage/value.rs:237
↓ 17 callersFunctionis_keyword_match
Check if a keyword match has a proper word boundary
graphlite/src/ast/lexer.rs:431
↓ 16 callersMethodget_all_nodes
Get all nodes in the graph
graphlite/src/storage/graph_cache.rs:166
↓ 16 callersMethodregister_function
Register a function signature
graphlite/src/types/inference.rs:145
↓ 15 callersMethodadd
ROADMAP v0.5.0 - Add rows to top-K heap for streaming filtering
graphlite/src/exec/streaming_topk.rs:143
↓ 15 callersMethodclear
ROADMAP v0.3.0 - Clear transaction log after COMMIT/ROLLBACK completion
graphlite/src/txn/log.rs:237
↓ 15 callersFunctioncreate_test_row
(id: usize, score: f64)
graphlite/src/exec/streaming_topk.rs:273
↓ 15 callersMethoddata
Extract data from a successful response
graphlite/src/catalog/operations.rs:346
↓ 15 callersMethodget_graph
Get a graph by name (readonly)
graphlite/src/exec/executor.rs:644
↓ 15 callersMethodhas_entities
Check if this row has any tracked entities
graphlite/src/exec/result.rs:280
↓ 15 callersMethodis_numeric
Check if this type is a numeric type
graphlite/src/ast/ast.rs:1494
↓ 15 callersMethodload
(&mut self, data: &[u8])
graphlite/src/schema/catalog/graph_type.rs:290
↓ 15 callersFunctionparse_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 callersMethodquery
Execute a GQL query Args: query: GQL query string Returns: QueryResult with rows and metadata
sdk-python/src/graphlite_sdk/connection.py:103
↓ 15 callersMethodset_variable
Set a local variable with type information
graphlite/src/exec/context.rs:148
↓ 14 callersMethodevaluate_expression_in_row
Evaluate an expression within a specific row context
graphlite/src/exec/executor.rs:2528
↓ 14 callersMethodget_variable
Get a variable value, checking session parameters first, then local variables
graphlite/src/exec/context.rs:134
↓ 14 callersMethodis_empty
Check if result is empty
graphlite/tests/testutils/cli_fixture.rs:198
↓ 14 callersMethodopen
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 callersMethodget_current_graph_name
Get current graph name from session
graphlite/src/exec/context.rs:173
↓ 13 callersMethodget_session
Get the user session from session provider
graphlite/src/exec/context.rs:127
↓ 13 callersMethodis_temporal
Check if this type is a temporal type
graphlite/src/ast/ast.rs:1480
↓ 13 callersMethodsave_graph
Save a graph Updates cache, memory store (if available), and persistent storage
graphlite/src/storage/storage_manager.rs:209
↓ 13 callersMethodsession
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 callersFunctiontag_token
Helper function for tag_token (alias for expect_token for compatibility)
graphlite/src/ast/parser.rs:3471
↓ 12 callersMethodadd_value
Add a value to the row (both named and positional)
graphlite/src/exec/result.rs:227
↓ 12 callersMethodallocate
ROADMAP v0.2.0 - Memory budget enforcement for large queries (see ROADMAP.md §1)
graphlite/src/exec/memory_budget.rs:107
↓ 12 callersMethodclose
Close the database connection
sdk-python/src/graphlite_sdk/connection.py:76
↓ 12 callersFunctioncreate_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 callersFunctiondummy_location
Helper to create a dummy location for tests
graphlite/src/exec/write_engine/operations/match_insert.rs:1044
↓ 12 callersFunctiondummy_location
Helper to create a dummy location for tests
graphlite/src/exec/write_engine/operations/match_delete.rs:753
↓ 12 callersMethodget_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 callersMethodinsert_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 callersFunctioncreate_simple_test_fixture
Helper function to create simple test fixture without relationships
graphlite/tests/set_operations_tests.rs:13
↓ 11 callersMethodexists
Check if a graph type exists
graphlite/src/schema/catalog/graph_type.rs:117
↓ 11 callersMethodlen
Get the number of rows
graphlite/tests/testutils/cli_fixture.rs:193
↓ 11 callersFunctionpretty_print_ast
Pretty print an AST Document with indented tree structure and debug logging
graphlite/src/ast/pretty_printer.rs:11
↓ 10 callersMethod__init__
(self, message: str)
sdk-python/src/graphlite_sdk/error.py:68
↓ 10 callersMethodexecute
(&self, context: &FunctionContext)
graphlite/src/functions/null_functions.rs:40
↓ 10 callersMethodexecute
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 callersMethodexecute
(&mut self, op: CatalogOperation)
graphlite/src/catalog/providers/schema.rs:490
next →1–100 of 2,902, ranked by callers