Skip to main content

Crate tonbo_predicate

Crate tonbo_predicate 

Source
Expand description

Tonbo predicate facade crate.

This crate is Arrow-first: predicate operands and literals are expressed directly in terms of typed-arrow-dyn cells, and evaluation assumes Arrow semantics (including NULL handling and mixed-width numeric coercions). There is no alternate storage or layout backend — keep the surface tight and Arrow native.

Structs§

BitmapRowSet
RowSet implementation backed by a roaring bitmap.
ColumnRef
Reference identifying a column used inside predicates.
Predicate
Logical predicate shared across adapters and Tonbo’s core.
ScalarValue
Literal values accepted by predicate operands, backed by DynCell.
ScalarValueRef
Borrowed view over a scalar value backed by DynCellRef.
VisitOutcome
Result produced while evaluating parts of a predicate tree.

Enums§

ComparisonOp
Comparison operator used by binary predicates.
Operand
Operand used by predicate comparisons and function calls.
PredicateNode
Recursive predicate node; leaf and branch variants coexist.

Traits§

PredicateVisitor
Visitor that walks predicate trees and emits custom results plus residual predicates.
RowSet
Abstract set of row identifiers that supports basic set algebra.

Type Aliases§

RowId
Unique identifier for a row referenced by the planner.
RowIdIter
Borrowed iterator that yields RowId values.