public class UpdateQueryPlan extends QueryPlan
ACT_DELETE, ACT_INSERT, ACT_NOOP, ACT_SELECT, ACT_UPDATE, action, config, messages, ST_BUILT, statements, status, store, tables| Constructor and Description |
|---|
UpdateQueryPlan(ActionDesc desc,
SQLStoreManager store) |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
void |
build(boolean batch)
Builds a UpdateQueryPlan for an object based update
type (i.e.
|
boolean |
checkBatchThreshold(Transaction tran)
Determines if the amount of batched operations exceeded a threshold.
|
protected Statement |
newStatement() |
protected void |
processStatements()
This method goes through the statement list and tries to set up relationship
between statements based on secondary table keys.
|
addQueryTable, addQueryTable, addQueryTables, addStatement, createStatement, findQueryTable, findQueryTable, getAction, getConfig, getStatement, getStatementspublic UpdateQueryPlan(ActionDesc desc, SQLStoreManager store)
public void build(boolean batch)
batch - Flag indicating whether we use batch update.protected void processStatements()
QueryPlanprocessStatements in class QueryPlanprotected Statement newStatement()
newStatement in class QueryPlanpublic boolean checkBatchThreshold(Transaction tran)
tran - the transactionCopyright © 2017. All rights reserved.