| Modifier and Type | Class and Description |
|---|---|
static interface |
VariableFieldsUpsert.IUpsertFactory |
static class |
VariableFieldsUpsert.UpsertStub |
| Constructor and Description |
|---|
VariableFieldsUpsert(Class<? extends IUpsert> upsertType) |
VariableFieldsUpsert(VariableFieldsUpsert.IUpsertFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
addExceptionProperties(DataException exception) |
VariableFieldsUpsert |
clone() |
void |
close() |
void |
executeBatch() |
void |
executeUpdate() |
boolean |
isBatchSupported() |
boolean |
isDebug()
Indicates if the generated SQL should be logged (default false).
|
void |
prepare(JdbcUpsertWriter writer,
Record record) |
VariableFieldsUpsert |
setDebug(boolean debug)
Set to
true to log generated SQL (default false). |
void |
setValues(JdbcUpsertWriter writer,
Record record) |
public VariableFieldsUpsert(VariableFieldsUpsert.IUpsertFactory factory)
public boolean isDebug()
IUpsertpublic VariableFieldsUpsert setDebug(boolean debug)
IUpserttrue to log generated SQL (default false).public void prepare(JdbcUpsertWriter writer, Record record) throws Throwable
public void setValues(JdbcUpsertWriter writer, Record record) throws Throwable
public void executeUpdate()
throws Throwable
executeUpdate in interface IUpsertThrowablepublic boolean isBatchSupported()
isBatchSupported in interface IUpsertpublic void addBatch()
throws Throwable
public void executeBatch()
throws Throwable
executeBatch in interface IUpsertThrowablepublic VariableFieldsUpsert clone()
public void close()
throws Throwable
public void addExceptionProperties(DataException exception)
addExceptionProperties in interface IUpsertCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.