class JdbcQueryTaskV3 extends JdbcQueryTaskV2 {
    /** Serial version uid. */
    private static final long serialVersionUID = 0L;

    /** Update metadata on demand flag. */
    private final boolean updateMeta;

    /** Update metadata on demand flag. */
    private final boolean skipReducerOnUpdate;

    /**
     * @param ignite Ignite.
     * @param cacheName Cache name.
     * @param schemaName Schema name.
     * @param sql Sql query.
     * @param isQry Operation type flag - query or not - to enforce query type check.
     * @param loc Local execution flag.
     * @param args Args.
     * @param fetchSize Fetch size.
     * @param uuid UUID.
     * @param locQry Local query flag.
     * @param collocatedQry Collocated query flag.
     * @param distributedJoins Distributed joins flag.
     * @param enforceJoinOrder Enforce joins order flag.
     * @param lazy Lazy query execution flag.
     * @param updateMeta Update metadata on demand.
     * @param skipReducerOnUpdate Flkag to enable server side updates.
     */
    public JdbcQueryTaskV3(Ignite ignite, String cacheName, String schemaName, String sql, Boolean isQry, boolean loc,
        Object[] args, int fetchSize, UUID uuid, boolean locQry, boolean collocatedQry, boolean distributedJoins,
        boolean enforceJoinOrder, boolean lazy, boolean updateMeta, boolean skipReducerOnUpdate) {
        super(ignite, cacheName, schemaName, sql, isQry, loc, args, fetchSize, uuid, locQry,
            collocatedQry, distributedJoins, enforceJoinOrder, lazy);

        this.updateMeta = updateMeta;
        this.skipReducerOnUpdate = skipReducerOnUpdate;
    }

    /** {@inheritDoc} */
    @Override protected boolean updateMetadata() {
        return updateMeta;
    }

    /** {@inheritDoc} */
    @Override protected boolean skipReducerOnUpdate() {
        return skipReducerOnUpdate;
    }

    /**
     * @param ignite Ignite.
     * @param cacheName Cache name.
     * @param schemaName Schema name.
     * @param sql Sql query.
     * @param isQry Operation type flag - query or not - to enforce query type check.
     * @param loc Local execution flag.
     * @param args Args.
     * @param fetchSize Fetch size.
     * @param uuid UUID.
     * @param locQry Local query flag.
     * @param collocatedQry Collocated query flag.
     * @param distributedJoins Distributed joins flag.
     * @param enforceJoinOrder Enforce joins order flag.
     * @param lazy Lazy query execution flag.
     * @param updateMeta Update metadata on demand.
     * @param skipReducerOnUpdate Update on server flag.
     * @return Appropriate task JdbcQueryTask or JdbcQueryTaskV2.
     */
    public static JdbcQueryTask createTask(Ignite ignite, String cacheName, String schemaName, String sql,
        Boolean isQry, boolean loc, Object[] args, int fetchSize, UUID uuid, boolean locQry,
        boolean collocatedQry, boolean distributedJoins,
        boolean enforceJoinOrder, boolean lazy, boolean updateMeta, boolean skipReducerOnUpdate) {<FILL_FUNCTION_BODY>}
}


        if (updateMeta || skipReducerOnUpdate)
            return new JdbcQueryTaskV3(ignite, cacheName, schemaName, sql, isQry, loc, args, fetchSize,
                uuid, locQry, collocatedQry, distributedJoins, enforceJoinOrder, lazy, updateMeta, skipReducerOnUpdate);
        else
            return JdbcQueryTaskV2.createTask(ignite, cacheName, schemaName, sql, isQry, loc, args, fetchSize,
                uuid, locQry, collocatedQry, distributedJoins, enforceJoinOrder, lazy);
    
<methods>public void <init>(org.apache.ignite.Ignite, java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, boolean, java.lang.Object[], int, java.util.UUID, boolean, boolean, boolean, boolean, boolean) ,public static org.apache.ignite.internal.jdbc2.JdbcQueryTask createTask(org.apache.ignite.Ignite, java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, boolean, java.lang.Object[], int, java.util.UUID, boolean, boolean, boolean, boolean, boolean) <variables>private final non-sealed boolean enforceJoinOrder,private final non-sealed boolean lazy,private static final long serialVersionUID