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()
IUpsert
public VariableFieldsUpsert setDebug(boolean debug)
IUpsert
true
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 IUpsert
Throwable
public boolean isBatchSupported()
isBatchSupported
in interface IUpsert
public void addBatch() throws Throwable
public void executeBatch() throws Throwable
executeBatch
in interface IUpsert
Throwable
public VariableFieldsUpsert clone()
public void close() throws Throwable
public void addExceptionProperties(DataException exception)
addExceptionProperties
in interface IUpsert
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.