public abstract class SQLModifyAllStatementForTempTable extends SQLModifyStatement
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection |
allFields |
static int |
CLEANUP_TEMP_TABLE |
static int |
CREATE_TEMP_TABLE |
static int |
INSERT_INTO_TEMP_TABLE |
protected int |
mode |
protected java.util.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.
|
java.util.Collection |
getAllFields() |
int |
getMode() |
java.util.Collection |
getPrimaryKeyFields() |
SQLCall |
getSelectCall() |
protected abstract java.util.Collection |
getUsedFields() |
void |
setAllFields(java.util.Collection allFields) |
void |
setMode(int mode) |
void |
setPrimaryKeyFields(java.util.Collection primaryKeyFields) |
void |
setSelectCall(SQLCall selectCall) |
protected abstract void |
writeUpdateOriginalTable(AbstractSession session,
java.io.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 java.util.Collection allFields
protected java.util.Collection primaryKeyFields
protected SQLCall selectCall
protected int mode
protected abstract java.util.Collection getUsedFields()
protected abstract void writeUpdateOriginalTable(AbstractSession session, java.io.Writer writer) throws java.io.IOException
java.io.IOException
public void setAllFields(java.util.Collection allFields)
public java.util.Collection getAllFields()
public void setSelectCall(SQLCall selectCall)
public SQLCall getSelectCall()
public void setPrimaryKeyFields(java.util.Collection primaryKeyFields)
public java.util.Collection getPrimaryKeyFields()
public void setMode(int mode)
public int getMode()
public DatabaseCall buildCall(AbstractSession session)
buildCall
in class SQLModifyStatement