tech.ydb.jooq.dsl.replace.ReplaceSetStep Maven / Gradle / Ivy
The newest version!
package tech.ydb.jooq.dsl.replace;
import java.util.Collection;
import java.util.Map;
import org.jooq.CheckReturnValue;
import org.jooq.Field;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Record1;
import org.jooq.Select;
import org.jooq.Table;
import tech.ydb.jooq.Replace;
import tech.ydb.jooq.YdbDSLContext;
/**
* This type is used for the {@link Replace}'s alternative DSL API.
*
* Example:
* YdbDSLContext create = YDB.using(configuration);
*
* create.replaceInto(table)
* .set(field1, value1)
* .set(field2, value2)
* .newRecord()
* .set(field1, value3)
* .set(field2, value4)
* .execute();
*
* Referencing XYZ*Step
types directly from client code
*
* It is usually not recommended to reference any XYZ*Step
types
* directly from client code, or assign them to local variables. When writing
* dynamic SQL, creating a statement's components dynamically, and passing them
* to the DSL API statically is usually a better choice. See the manual's
* section about dynamic SQL for details: https://www.jooq.org/doc/latest/manual/sql-building/dynamic-sql.
*
* Drawbacks of referencing the XYZ*Step
types directly:
*
* - They're operating on mutable implementations (as of jOOQ 3.x)
* - They're less composable and not easy to get right when dynamic SQL gets
* complex
* - They're less readable
* - They might have binary incompatible changes between minor releases
*
*/
public interface ReplaceSetStep {
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStepN columns(Field>... fields);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStepN columns(Collection extends Field>> fields);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep1 columns(Field field1);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep2 columns(Field field1, Field field2);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep3 columns(Field field1, Field field2, Field field3);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep4 columns(Field field1, Field field2, Field field3, Field field4);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep5 columns(Field field1, Field field2, Field field3, Field field4, Field field5);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep6 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep7 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep8 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep9 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep10 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep11 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep12 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep13 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep14 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep15 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14, Field field15);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep16 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14, Field field15, Field field16);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep17 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14, Field field15, Field field16, Field field17);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep18 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14, Field field15, Field field16, Field field17, Field field18);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep19 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14, Field field15, Field field16, Field field17, Field field18, Field field19);
/**
* Set the columns for replace.
*/
@CheckReturnValue
ReplaceValuesStep20 columns(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14, Field field15, Field field16, Field field17, Field field18, Field