Crate tidb_query_executors[−][src]
This crate implements a simple SQL query engine to work with TiDB pushed down executors.
The query engine is able to scan and understand rows stored by TiDB, run against a series of executors and then return the execution result. The query engine is provided via TiKV Coprocessor interface. However standalone UDF functions are also exported and can be used standalone.
Modules
fast_hash_aggr_executor | |
index_scan_executor | |
interface | Batch executor common structures. |
limit_executor | |
runner | |
selection_executor | |
simple_aggr_executor | Simple aggregation is an aggregation that do not have |
slow_hash_aggr_executor | |
stream_aggr_executor | |
table_scan_executor | |
top_n_executor | |
util |
Structs
BatchFastHashAggregationExecutor | Fast Hash Aggregation Executor uses hash when comparing group key. It only supports one group by column. |
BatchIndexScanExecutor | |
BatchLimitExecutor | Executor that retrieves rows from the source executor and only produces part of the rows. |
BatchSelectionExecutor | |
BatchSimpleAggregationExecutor | |
BatchSlowHashAggregationExecutor | Slow Hash Aggregation Executor supports multiple groups but uses less efficient ways to store group keys in hash tables. |
BatchStreamAggregationExecutor | |
BatchTableScanExecutor | |
BatchTopNExecutor |