public class Planner extends Object
Constructor and Description |
---|
Planner(QueryPlanner qPlanner,
UpdatePlanner uPlanner) |
Modifier and Type | Method and Description |
---|---|
Plan |
createQueryPlan(String qry,
Transaction tx)
Creates a plan for an SQL select statement, using the supplied planner.
|
int |
executeUpdate(String cmd,
Transaction tx)
Executes an SQL insert, delete, modify, or create statement.
|
public Planner(QueryPlanner qPlanner, UpdatePlanner uPlanner)
public Plan createQueryPlan(String qry, Transaction tx)
qry
- the SQL query stringtx
- the transactionpublic int executeUpdate(String cmd, Transaction tx)
cmd
- the SQL update stringtx
- the transactionCopyright © 2022 VanillaDB Organization. All rights reserved.