|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
R - The record type of the table being modifiedpublic interface StoreQuery<R extends Record>
A query storing objects to the database. This is either an insert or an update query.
| Method Summary | ||
|---|---|---|
|
addValue(Field<T> field,
Field<T> value)
Add a value to the store statement |
|
|
addValue(Field<T> field,
T value)
Add a value to the store statement |
|
|
addValueAsArray(Field<A> field,
List<T> value)
Add a value to the store statement |
|
|
addValueAsArray(Field<A> field,
T... value)
Add a value to the store statement |
|
void |
addValues(Map<? extends Field<?>,?> map)
Add multiple values to the store statement. |
|
void |
setRecord(R record)
Add values to the store statement |
|
| Methods inherited from interface org.jooq.Query |
|---|
bind, bind, execute, getBindValues, getParam, getParams, getSQL, getSQL, isExecutable |
| Methods inherited from interface org.jooq.QueryPart |
|---|
attach |
| Methods inherited from interface org.jooq.Adapter |
|---|
internalAPI |
| Method Detail |
|---|
void setRecord(R record)
record - The record holding values that are stored by the query
<T> void addValue(Field<T> field,
T value)
field - The fieldvalue - The value
<T> void addValue(Field<T> field,
Field<T> value)
field - The fieldvalue - The value. If value is null, this results in
calling addValue(Field, Object) with null as a value.void addValues(Map<? extends Field<?>,?> map)
Please assure that key/value pairs have matching <T>
types. Values can either be of type <T> or
Field<T>
<A extends ArrayRecord<T>,T> void addValueAsArray(Field<A> field,
T... value)
A - The field typeT - The array typefield - The fieldvalue - The value
<A extends ArrayRecord<T>,T> void addValueAsArray(Field<A> field,
List<T> value)
A - The field typeT - The array typefield - The fieldvalue - The value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||