Skip to main content

Module operators

Module operators 

Source
Expand description

Physical operators that actually execute queries.

These are the building blocks of query execution. The optimizer picks which operators to use and how to wire them together.

Graph operators:

Relational operators:

The push submodule has push-based variants for pipeline execution.

Re-exports§

pub use accumulator::AggregateExpr;
pub use accumulator::AggregateFunction;
pub use accumulator::HashableValue;
pub use push::AggregatePushOperator;
pub use push::DistinctMaterializingOperator;
pub use push::DistinctPushOperator;
pub use push::FilterPushOperator;
pub use push::LimitPushOperator;
pub use push::ProjectPushOperator;
pub use push::SkipLimitPushOperator;
pub use push::SkipPushOperator;
pub use push::SortPushOperator;
pub use push::SpillableAggregatePushOperator;
pub use push::SpillableSortPushOperator;
pub use single_row::EmptyOperator;
pub use single_row::NodeListOperator;
pub use single_row::SingleRowOperator;

Modules§

accumulator
Shared accumulator types for both pull-based and push-based aggregate operators.
push
Push-based operator implementations.
single_row
Single row, empty, and node list operators.
value_utils
Shared value comparison and conversion utilities.

Structs§

AddLabelOperator
Operator that adds labels to nodes.
AndPredicate
Composite predicate combining multiple predicates with AND.
ApplyOperator
Apply (lateral join) operator.
ColumnPredicate
A simple column value predicate for factorized data.
CreateEdgeOperator
Operator that creates new edges.
CreateNodeOperator
Operator that creates new nodes.
DeleteEdgeOperator
Operator that deletes edges.
DeleteNodeOperator
Operator that deletes nodes.
DistinctOperator
Distinct operator.
EqualityCondition
A simple equality condition for nested loop joins.
ExceptOperator
EXCEPT operator: rows in left that are not in right.
ExpandOperator
An expand operator that traverses edges from source nodes.
ExpandStep
Configuration for a single expand step in a lazy chain.
ExpressionPredicate
An expression-based predicate that evaluates logical expressions.
FactorizedAggregateOperator
An aggregate operator that works directly on factorized data.
FactorizedExpandChain
Builder for chaining multiple factorized expansions.
FactorizedExpandOperator
An expand operator that produces factorized output.
FactorizedFilterOperator
A filter operator that applies predicates to factorized data without flattening.
FilterOperator
A filter operator that applies a predicate to filter rows.
FlatDataWrapper
Wrapper to treat a flat DataChunk as FactorizedData.
HashAggregateOperator
Hash-based aggregate operator.
HashJoinOperator
Hash join operator.
HorizontalAggregateOperator
Per-row aggregation over a list-valued column.
IntersectOperator
INTERSECT operator: rows common to both inputs.
LazyFactorizedChainOperator
A lazy operator that executes a factorized expand chain when next() is called.
LazyValue
A lazily-computed, cloneable value.
LeapfrogJoinOperator
Leapfrog TrieJoin operator for worst-case optimal multi-way joins.
LimitOperator
Limit operator.
LimitSkipOperator
Combined Limit and Skip operator.
LoadDataOperator
Operator that reads a data file and produces one row per record.
MapCollectOperator
Collects key-value pairs from child rows into a single Map value.
MergeConfig
Configuration for a node merge operation.
MergeOperator
Merge operator for MERGE clause.
MergeRelationshipConfig
Configuration for a relationship merge operation.
MergeRelationshipOperator
Merge operator for relationship patterns.
NestedLoopJoinOperator
Nested loop join operator.
OrPredicate
Composite predicate combining multiple predicates with OR.
OtherwiseOperator
OTHERWISE operator: use left result if non-empty, otherwise use right.
ParameterScanOperator
Operator that emits a single row from externally injected parameter values.
ParameterState
Shared state between ApplyOperator and ParameterScanOperator.
ProjectOperator
A project operator that selects and transforms columns.
PropertyPredicate
A property-based predicate for factorized data.
RemoveLabelOperator
Operator that removes labels from nodes.
ScanOperator
A scan operator that reads nodes from storage.
SessionContext
Session-level context passed to the filter evaluator for introspection functions.
SetPropertyOperator
Operator that sets properties on nodes or edges.
ShortestPathOperator
Operator that finds shortest paths between source and target nodes.
SimpleAggregateOperator
Simple (non-grouping) aggregate operator for global aggregations.
SkipOperator
Skip operator.
SortKey
A sort key specification.
SortOperator
Sort operator.
UnionOperator
Union operator that combines results from multiple inputs.
UnwindOperator
Unwind operator that expands a list column into individual rows.
VariableLengthExpandOperator
An expand operator that handles variable-length path patterns like *1..3.
VectorJoinOperator
Vector join operator for hybrid graph + vector queries.
VectorScanOperator
A scan operator that finds nodes by vector similarity.

Enums§

BinaryFilterOp
Binary operators for filter expressions.
EntityKind
Whether the horizontal aggregate operates on edges or nodes.
ExecutionPathMode
Path traversal mode controlling which paths are allowed.
FactorizedAggregate
Types of aggregates that can be computed on factorized data.
FactorizedCompareOp
Comparison operators for column predicates.
FilterExpression
A filter expression that can be evaluated.
HashKey
A hash key that can be hashed and compared for join operations.
JoinType
The type of join to perform.
ListPredicateKind
The kind of list predicate function.
LoadDataFormat
File format for the load data operator.
NullOrder
Null ordering.
OperatorError
Error during operator execution.
ProjectExpr
A projection expression.
PropertySource
Source for a property value.
SortDirection
Sort direction.
UnaryFilterOp
Unary operators for filter expressions.

Traits§

ConstraintValidator
Trait for validating schema constraints during mutation operations.
FactorizedData
Trait for data that can be in factorized or flat form.
FactorizedOperator
Trait for operators that can provide factorized output.
FactorizedPredicate
A predicate that can be evaluated on factorized data at a specific level.
JoinCondition
Trait for join conditions.
Operator
The core trait for pull-based operators.
Predicate
A predicate for filtering rows.
WriteTracker
Trait for recording write operations during query execution.

Type Aliases§

FactorizedResult
Result type for factorized operations.
OperatorResult
Result of executing an operator.
SharedWriteTracker
Type alias for a shared write tracker.