org.jooq.UpdateSetFirstStep Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Other licenses:
* -----------------------------------------------------------------------------
* Commercial licenses for this work are available. These replace the above
* ASL 2.0 and offer limited warranties, support, maintenance, and commercial
* database integrations.
*
* For more information, please visit: https://www.jooq.org/legal/licensing
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package org.jooq;
import static org.jooq.SQLDialect.*;
import org.jetbrains.annotations.NotNull;
/**
* This type is used for the {@link Update}'s DSL API.
*
* Example:
* using(configuration)
* .update(table)
* .set(field1, value1)
* .set(field2, value2)
* .where(field1.greaterThan(100))
* .execute();
*
*
* @author Lukas Eder
*/
public interface UpdateSetFirstStep extends UpdateSetStep {
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(RowN row, RowN value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row1 row, Row1 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row2 row, Row2 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row3 row, Row3 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row4 row, Row4 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row5 row, Row5 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row6 row, Row6 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row7 row, Row7 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row8 row, Row8 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row9 row, Row9 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row10 row, Row10 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row11 row, Row11 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row12 row, Row12 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row13 row, Row13 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row14 row, Row14 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row15 row, Row15 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row16 row, Row16 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row17 row, Row17 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row18 row, Row18 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row19 row, Row19 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row20 row, Row20 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row21 row, Row21 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*
* This is emulated using a subquery for the value
, where row
* value expressions on the right hand side aren't supported, or with an
* ordinary SET clause, where row value expressions on the left hand side
* aren't supported.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row22 row, Row22 value);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(RowN row, Select extends Record> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row1 row, Select extends Record1> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row2 row, Select extends Record2> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row3 row, Select extends Record3> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row4 row, Select extends Record4> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row5 row, Select extends Record5> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row6 row, Select extends Record6> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row7 row, Select extends Record7> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row8 row, Select extends Record8> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row9 row, Select extends Record9> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row10 row, Select extends Record10> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row11 row, Select extends Record11> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row12 row, Select extends Record12> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row13 row, Select extends Record13> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row14 row, Select extends Record14> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row15 row, Select extends Record15> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row16 row, Select extends Record16> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row17 row, Select extends Record17> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row18 row, Select extends Record18> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row19 row, Select extends Record19> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row20 row, Select extends Record20> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row21 row, Select extends Record21> select);
/**
* Specify a multi-column set clause for the UPDATE
statement.
*/
@NotNull @CheckReturnValue
@Support
UpdateFromStep set(Row22 row, Select extends Record22> select);
}