|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimpledb.index.planner.IndexUpdatePlanner
public class IndexUpdatePlanner
A modification of the basic update planner. It dispatches each update statement to the corresponding index planner.
| Constructor Summary | |
|---|---|
IndexUpdatePlanner()
|
|
| Method Summary | |
|---|---|
int |
executeCreateIndex(CreateIndexData data,
Transaction tx)
Executes the specified create index statement, and returns the number of affected records. |
int |
executeCreateTable(CreateTableData data,
Transaction tx)
Executes the specified create table statement, and returns the number of affected records. |
int |
executeCreateView(CreateViewData data,
Transaction tx)
Executes the specified create view statement, and returns the number of affected records. |
int |
executeDelete(DeleteData data,
Transaction tx)
Executes the specified delete statement, and returns the number of affected records. |
int |
executeInsert(InsertData data,
Transaction tx)
Executes the specified insert statement, and returns the number of affected records. |
int |
executeModify(ModifyData data,
Transaction tx)
Executes the specified modify statement, and returns the number of affected records. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexUpdatePlanner()
| Method Detail |
|---|
public int executeInsert(InsertData data,
Transaction tx)
UpdatePlanner
executeInsert in interface UpdatePlannerdata - the parsed representation of the insert statementtx - the calling transaction
public int executeDelete(DeleteData data,
Transaction tx)
UpdatePlanner
executeDelete in interface UpdatePlannerdata - the parsed representation of the delete statementtx - the calling transaction
public int executeModify(ModifyData data,
Transaction tx)
UpdatePlanner
executeModify in interface UpdatePlannerdata - the parsed representation of the modify statementtx - the calling transaction
public int executeCreateTable(CreateTableData data,
Transaction tx)
UpdatePlanner
executeCreateTable in interface UpdatePlannerdata - the parsed representation of the create table statementtx - the calling transaction
public int executeCreateView(CreateViewData data,
Transaction tx)
UpdatePlanner
executeCreateView in interface UpdatePlannerdata - the parsed representation of the create view statementtx - the calling transaction
public int executeCreateIndex(CreateIndexData data,
Transaction tx)
UpdatePlanner
executeCreateIndex in interface UpdatePlannerdata - the parsed representation of the create index statementtx - the calling transaction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||