Skip to main content

hawdb_executor/
lib.rs

1// Copyright 2026 Nowledge
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#[doc(hidden)]
16pub mod analytics;
17#[doc(hidden)]
18pub mod batch;
19#[doc(hidden)]
20pub mod binding;
21#[doc(hidden)]
22pub mod blocking;
23pub mod columnar;
24pub mod concurrent;
25#[doc(hidden)]
26pub mod execution_request;
27#[doc(hidden)]
28pub mod expression;
29#[doc(hidden)]
30pub mod external;
31#[doc(hidden)]
32pub mod external_order;
33pub mod graph;
34mod graph_match;
35#[doc(hidden)]
36pub mod graph_seed;
37#[doc(hidden)]
38pub mod kernel;
39pub mod limit;
40pub mod memory;
41pub mod memory_ledger;
42pub mod morsel;
43#[doc(hidden)]
44pub mod mutation;
45#[doc(hidden)]
46pub mod numeric;
47#[doc(hidden)]
48pub mod observer;
49mod output;
50pub use output::QueryOutput;
51#[doc(hidden)]
52pub mod pipeline;
53#[doc(hidden)]
54pub mod predicate;
55pub mod profile;
56mod read_output;
57#[doc(hidden)]
58pub mod result_delivery;
59#[doc(hidden)]
60pub mod runtime_admission;
61#[doc(hidden)]
62pub mod scan;
63pub mod scoring;
64#[doc(hidden)]
65pub mod spill;
66#[doc(hidden)]
67pub mod store;
68mod store_adapter;
69#[doc(hidden)]
70pub mod transform;
71#[doc(hidden)]
72pub mod traversal;
73pub mod vector;
74pub mod vector_eligibility;
75
76pub use binding::value_payload_bytes as query_value_payload_bytes;
77
78pub use columnar::{
79    filter_boolean_column, filter_float64_values, filter_float64_values_view, filter_int64_values,
80    filter_int64_values_view, filter_numeric_column, select_float64_values_view,
81    select_int64_values_view, BindingSchema, ColumnType, ColumnVector, ColumnarBatch,
82    ColumnarRowRef, NumericLiteral, NumericPredicate, RelationalRowLocator, Selection,
83    SlotDescriptor, SlotId, SlotType, Validity, ValidityBuilder, ValidityView,
84};
85pub use concurrent::{BoundedExecutor, SharedExecutorPool, SharedExecutorPoolError};
86pub use external::{
87    ExternalReadOperator, ExternalReadResourceContract, ExternalReadResultBudget,
88    TextSeedExecutionOutput, TextSeedExecutionRequest, TextSeedExecutionRow,
89    VectorIndexExecutionOutput, VectorIndexExecutionRequest, VectorIndexExecutionRow,
90    VectorSeedExecutionOutput, VectorSeedExecutionRequest, VectorSeedExecutionRow,
91};
92pub use graph::{GraphExpansionExecutionReport, GraphExpansionTruncationReason};
93pub use limit::ExecutionLimit;
94pub use memory::ExecutionMemoryConfig;
95pub use memory_ledger::{
96    QueryMemoryAccount, QueryMemoryClass, QueryMemoryClassSnapshot, QueryMemoryLease,
97    QueryMemoryLedger, QueryMemoryLedgerSnapshot,
98};
99pub use morsel::{
100    admit_morsels, execute_morsels_ordered, Morsel, MorselAdmission, MorselAdmissionRequest,
101    MorselIter, MorselOrdinal, MorselOutput, MorselStreamControl, MorselStreamReport,
102    MorselStreamResources, PipelineId, SequentialMorselScheduler, SharedPoolMorselScheduler,
103};
104mod retrieval_report;
105pub use profile::{
106    BlockingOperatorMemoryReport, OperatorCardinalityProfile, PipelineMemoryReport,
107    ProfiledQueryRows, ProfiledQueryStream, QueryRow, QueryRowRef, QueryRows, QueryRowsBuilder,
108    QueryRowsIntoIter, QueryRowsIter, QuerySchema, QueryValueRows, ReadExecutionProfile, Row,
109    RowRef, RowRefIter,
110};
111pub use read_output::{BoundedReadQueryOutput, QueryStreamOptions, QueryStreamReport};
112pub use retrieval_report::{
113    GroupedEvidenceExecutionReport, TextSeedExecutionReport, TextSeedSourceReport,
114};
115pub use spill::SpillPoolSnapshot;
116pub use vector::{
117    execute_vector_plan, VectorCandidate, VectorCandidateBatch, VectorCandidateScanMetrics,
118    VectorCandidateScanRequest, VectorCompressionMode, VectorExecutionBackend,
119    VectorExecutionError, VectorExecutionOutput, VectorExecutionReport, VectorExecutionSource,
120    VectorFallbackReasonCode, VectorRawRerankRequest, VectorRawScore, VectorResidualFilterRequest,
121    VectorScoreSource,
122};