|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MergeValuesStep<R extends Record>
This type is used for the H2-specific variant of the Merge
's DSL API.
Example:
Factory create = new Factory();
create.mergeInto(table, field1, field2)
.key(id)
.values(value1, value2)
.execute();
Method Summary | |
---|---|
Merge<R> |
select(Select<?> select)
Use a SELECT statement as the source of values for the
MERGE statement
This variant of the MERGE .. |
Merge<R> |
values(Collection<?> values)
Specify a VALUES clause |
Merge<R> |
values(Field<?>... values)
Specify a VALUES clause |
Merge<R> |
values(Object... values)
Specify a VALUES clause |
Method Detail |
---|
Merge<R> values(Object... values)
VALUES
clause
Merge<R> values(Field<?>... values)
VALUES
clause
Merge<R> values(Collection<?> values)
VALUES
clause
Merge<R> select(Select<?> select)
SELECT
statement as the source of values for the
MERGE
statement
This variant of the MERGE .. SELECT
statement expects a
select returning exactly as many fields as specified previously in the
INTO
clause:
FactoryOperations.mergeInto(Table, Field...)
or
FactoryOperations.mergeInto(Table, Collection)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |