public abstract class SQLModifyAllStatementForTempTable extends SQLModifyStatement
Modifier and Type | Field and Description |
---|---|
protected Collection |
allFields |
static int |
CLEANUP_TEMP_TABLE |
static int |
CREATE_TEMP_TABLE |
static int |
INSERT_INTO_TEMP_TABLE |
protected int |
mode |
protected Collection |
primaryKeyFields |
protected SQLCall |
selectCall |
static int |
UPDATE_ORIGINAL_TABLE |
modifyRow, returnFields, table
builder, translationRow, whereClause
Constructor and Description |
---|
SQLModifyAllStatementForTempTable() |
Modifier and Type | Method and Description |
---|---|
DatabaseCall |
buildCall(AbstractSession session)
Append the string containing the SQL insert string for the given table.
|
Collection |
getAllFields() |
int |
getMode() |
Collection |
getPrimaryKeyFields() |
SQLCall |
getSelectCall() |
protected abstract Collection |
getUsedFields() |
void |
setAllFields(Collection allFields) |
void |
setMode(int mode) |
void |
setPrimaryKeyFields(Collection primaryKeyFields) |
void |
setSelectCall(SQLCall selectCall) |
protected abstract void |
writeUpdateOriginalTable(AbstractSession session,
Writer writer) |
buildCallWithoutReturning, getModifyRow, getReturnFields, getTable, setModifyRow, setReturnFields, setTable
clone, getBuilder, getExpressionBuilder, getTranslationRow, getWhereClause, setBuilder, setTranslationRow, setWhereClause, toString
public static final int CREATE_TEMP_TABLE
public static final int INSERT_INTO_TEMP_TABLE
public static final int UPDATE_ORIGINAL_TABLE
public static final int CLEANUP_TEMP_TABLE
protected Collection allFields
protected Collection primaryKeyFields
protected SQLCall selectCall
protected int mode
protected abstract Collection getUsedFields()
protected abstract void writeUpdateOriginalTable(AbstractSession session, Writer writer) throws IOException
IOException
public void setAllFields(Collection allFields)
public Collection getAllFields()
public void setSelectCall(SQLCall selectCall)
public SQLCall getSelectCall()
public void setPrimaryKeyFields(Collection primaryKeyFields)
public Collection getPrimaryKeyFields()
public void setMode(int mode)
public int getMode()
public DatabaseCall buildCall(AbstractSession session)
buildCall
in class SQLModifyStatement
Copyright © 2022. All rights reserved.