# Design ideas
The query engine is responsible for parsing all user commands, generating plans, delivering them to the corresponding executors, and returning result sets.
# Related classes
IoTDB server-side RPC implementation, which directly interacts with the client.
Parse SQL, generate logical plans, optimize logical plans, and generate physical plans.
Distribute the physical plan to the corresponding actuators, including the following four specific actuators.
- MManager: Metadata operations
- StorageEngine: Data write
- QueryRouter: Data query
- LocalFileAuthorizer: Permission operation
The batch result set is returned to the client and contains part of the query logic.
# Query process
- SQL parsing
- Generate logical plans
- Generate physical plans
- Constructing a result set generator
- Returning result sets in batches
# Related documents
Copyright © 2021 The Apache Software Foundation.
Apache and the Apache feather logo are trademarks of The Apache Software Foundation
Contact us: Join QQ Group 659990460 | Add friend tietouqiao and be invited to Wechat Group
see Join the community for more