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(org.h2.command.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(org.h2.command.Prepared prepared, boolean loc, IgniteH2Indexing idx, @Nullable Connection conn, @Nullable SqlFieldsQuery fieldsQry, @Nullable 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 Fabric : ver. 2.6.0 Release Date : July 10 2018