public final class UpdatePlanBuilder extends Object
DmlStatementsProcessor.| Modifier and Type | Method and Description |
|---|---|
static boolean |
isSkipReducerOnUpdateQuery(SqlFieldsQuery qry)
Checks whether query flags are compatible with server side update.
|
static UpdatePlan |
planForBulkLoad(SqlBulkLoadCommand cmd,
GridH2Table tbl)
Prepare update plan for COPY command (AKA bulk load).
|
static UpdatePlan |
planForStatement(Prepared prepared,
boolean loc,
IgniteH2Indexing idx,
Connection conn,
SqlFieldsQuery fieldsQry,
Integer errKeysPos)
Generate SELECT statements to retrieve data for modifications from and find fast UPDATE or DELETE args,
if available.
|
public static UpdatePlan planForStatement(Prepared prepared, boolean loc, IgniteH2Indexing idx, Connection conn, SqlFieldsQuery fieldsQry, Integer errKeysPos) throws IgniteCheckedException
prepared - H2's Prepared.loc - Local query flag.idx - Indexing.conn - Connection.fieldsQry - Original query.IgniteCheckedExceptionpublic static UpdatePlan planForBulkLoad(SqlBulkLoadCommand cmd, GridH2Table tbl) throws IgniteCheckedException
cmd - Bulk load commandIgniteCheckedException - if failed.public static boolean isSkipReducerOnUpdateQuery(SqlFieldsQuery qry)
qry - Query.true if update can be distributed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2-p3 Release Date : April 25 2019