public class BasicUpdatePlanner extends Object implements UpdatePlanner
Constructor and Description |
---|
BasicUpdatePlanner() |
Modifier and Type | Method and Description |
---|---|
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 |
executeDropIndex(DropIndexData data,
Transaction tx)
Executes the specified drop index statement, and returns the number of
affected records.
|
int |
executeDropTable(DropTableData data,
Transaction tx)
Executes the specified drop table statement, and returns the number of
affected records.
|
int |
executeDropView(DropViewData data,
Transaction tx)
Executes the specified drop view 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.
|
public int executeDelete(DeleteData data, Transaction tx)
UpdatePlanner
executeDelete
in interface UpdatePlanner
data
- the parsed representation of the delete statementtx
- the calling transactionpublic int executeModify(ModifyData data, Transaction tx)
UpdatePlanner
executeModify
in interface UpdatePlanner
data
- the parsed representation of the modify statementtx
- the calling transactionpublic int executeInsert(InsertData data, Transaction tx)
UpdatePlanner
executeInsert
in interface UpdatePlanner
data
- the parsed representation of the insert statementtx
- the calling transactionpublic int executeCreateTable(CreateTableData data, Transaction tx)
UpdatePlanner
executeCreateTable
in interface UpdatePlanner
data
- the parsed representation of the create table statementtx
- the calling transactionpublic int executeCreateView(CreateViewData data, Transaction tx)
UpdatePlanner
executeCreateView
in interface UpdatePlanner
data
- the parsed representation of the create view statementtx
- the calling transactionpublic int executeCreateIndex(CreateIndexData data, Transaction tx)
UpdatePlanner
executeCreateIndex
in interface UpdatePlanner
data
- the parsed representation of the create index statementtx
- the calling transactionpublic int executeDropTable(DropTableData data, Transaction tx)
UpdatePlanner
executeDropTable
in interface UpdatePlanner
data
- the parsed representation of the drop table statementtx
- the calling transactionpublic int executeDropView(DropViewData data, Transaction tx)
UpdatePlanner
executeDropView
in interface UpdatePlanner
data
- the parsed representation of the drop view statementtx
- the calling transactionpublic int executeDropIndex(DropIndexData data, Transaction tx)
UpdatePlanner
executeDropIndex
in interface UpdatePlanner
data
- the parsed representation of the drop index statementtx
- the calling transactionCopyright © 2022 VanillaDB Organization. All rights reserved.