|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimpledb.planner.Planner
public class Planner
The object that executes SQL statements.
| Constructor Summary | |
|---|---|
Planner(QueryPlanner qplanner,
UpdatePlanner uplanner)
|
|
| Method Summary | |
|---|---|
Plan |
createQueryPlan(java.lang.String qry,
Transaction tx)
Creates a plan for an SQL select statement, using the supplied planner. |
int |
executeUpdate(java.lang.String cmd,
Transaction tx)
Executes an SQL insert, delete, modify, or create statement. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Planner(QueryPlanner qplanner,
UpdatePlanner uplanner)
| Method Detail |
|---|
public Plan createQueryPlan(java.lang.String qry,
Transaction tx)
qry - the SQL query stringtx - the transaction
public int executeUpdate(java.lang.String cmd,
Transaction tx)
cmd - the SQL update stringtx - the transaction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||