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 |
planForStatement(org.h2.command.Prepared prepared,
boolean loc,
IgniteH2Indexing idx,
Connection conn,
SqlFieldsQuery fieldsQuery,
Integer errKeysPos)
Generate SELECT statements to retrieve data for modifications from and find fast UPDATE or DELETE args,
if available.
|
public static UpdatePlan planForStatement(org.h2.command.Prepared prepared, boolean loc, IgniteH2Indexing idx, @Nullable Connection conn, @Nullable SqlFieldsQuery fieldsQuery, @Nullable Integer errKeysPos) throws IgniteCheckedException
prepared - H2's Prepared.loc - Local query flag.idx - Indexing.conn - Connection.fieldsQuery - Original query.IgniteCheckedExceptionpublic static boolean isSkipReducerOnUpdateQuery(SqlFieldsQuery qry)
qry - Query.true if update can be distributed.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.3.0 Release Date : October 28 2017