- All Superinterfaces:
MergeValuesStep1<R,
T1>
@Deprecated(forRemoval=true,
since="3.14")
public interface MergeKeyStep1<R extends Record,T1>
extends MergeValuesStep1<R,T1>
Deprecated, for removal: This API element is subject to removal in a future version.
This type is used for the H2-specific variant of the
Merge
's DSL API.
Example:
DSLContext create = DSL.using(configuration);
create.mergeInto(table, field1)
.key(id)
.values(field1)
.execute();
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescription@NotNull MergeValuesStep1
<R, T1> key
(Collection<? extends Field<?>> keys) Deprecated, for removal: This API element is subject to removal in a future version.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)
@NotNull MergeValuesStep1
<R, T1> Deprecated, for removal: This API element is subject to removal in a future version.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)
Methods inherited from interface org.jooq.MergeValuesStep1
select, values, values, values
-
Method Details
-
key
@Deprecated(forRemoval=true, since="3.14") @NotNull @CheckReturnValue @Support({AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull MergeValuesStep1<R,T1> key(Field<?>... keys) Deprecated, for removal: This API element is subject to removal in a future version.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)
Specify an optionalKEY
clause.Use this optional clause in order to override using the underlying
PRIMARY KEY
. -
key
@Deprecated(forRemoval=true, since="3.14") @NotNull @CheckReturnValue @Support({AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull MergeValuesStep1<R,T1> key(Collection<? extends Field<?>> keys) Deprecated, for removal: This API element is subject to removal in a future version.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)
Specify an optionalKEY
clause.Use this optional clause in order to override using the underlying
PRIMARY KEY
.
-
DSLContext.mergeInto(Table)