|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.solarmetric.kodo.impl.jdbc.sql.SQLStatement
|
+--com.solarmetric.kodo.impl.jdbc.sql.NonSelectingSQL
|
+--com.solarmetric.kodo.impl.jdbc.sql.Update
Abstraction of a SQL UPDATE statement.
| Field Summary | |
protected static Localizer |
_loc
|
(package private) SortedMap |
_updates
A SortedMap is used in order to provide a deterministic order to the column so that PreparedStatement and Statement objects can be cached elsewhere. |
| Fields inherited from class com.solarmetric.kodo.impl.jdbc.sql.SQLStatement |
_dict, _resolver, _tables |
| Constructor Summary | |
Update(DBDictionary dict,
ClassResolver resolver)
|
|
Update(Update copy,
ClassResolver resolver)
|
|
| Method Summary | |
void |
clear()
Clear the WHERE clause and table list so that this statement can be reused. |
void |
clearSet()
Clear the set updates. |
SQLBuffer |
getSQLBuffer()
Return the SQLBuffer to be used for exeucting the statement; |
boolean |
isValid()
Return true if at least one table has been set for this SQL statement. |
Update |
set(Column[] col,
Object[] value)
Set the given columns to the given values; this also sets the table of the UPDATE to the table of the given columns. |
Update |
set(Column col,
boolean value)
See set(Column,Object). |
Update |
set(Column col,
byte value)
See set(Column,Object). |
Update |
set(Column col,
char value)
See set(Column,Object). |
Update |
set(Column col,
double value)
See set(Column,Object). |
Update |
set(Column col,
float value)
See set(Column,Object). |
Update |
set(Column col,
int value)
See set(Column,Object). |
Update |
set(Column col,
long value)
See set(Column,Object). |
Update |
set(Column col,
Object value)
Set the given column to the given value; this also sets the table of the UPDATE to the table of the given column. |
Update |
set(Column col,
short value)
See set(Column,Object). |
(package private) Update |
setInternal(Column col,
SQLValue value)
Internal filter for all set methods; the given value
should already be passed through the DBDictionary unless it
is null. |
| Methods inherited from class com.solarmetric.kodo.impl.jdbc.sql.NonSelectingSQL |
retainTableInWhere |
| Methods inherited from class com.solarmetric.kodo.impl.jdbc.sql.SQLStatement |
and, clearTable, clearWhere, columnName, getClassResolver, getDictionary, getTables, getWhere, getWhereSize, not, or, popWhere, pushWhere, toString, where, where, where, where, where, where, where, where, where, where, whereInternal, whereInternal |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected static Localizer _loc
final SortedMap _updates
| Constructor Detail |
public Update(DBDictionary dict,
ClassResolver resolver)
public Update(Update copy,
ClassResolver resolver)
| Method Detail |
public Update set(Column col,
Object value)
public Update set(Column col,
boolean value)
set(Column,Object).
public Update set(Column col,
byte value)
set(Column,Object).
public Update set(Column col,
char value)
set(Column,Object).
public Update set(Column col,
double value)
set(Column,Object).
public Update set(Column col,
float value)
set(Column,Object).
public Update set(Column col,
int value)
set(Column,Object).
public Update set(Column col,
long value)
set(Column,Object).
public Update set(Column col,
short value)
set(Column,Object).
public Update set(Column[] col,
Object[] value)
Update setInternal(Column col,
SQLValue value)
set methods; the given value
should already be passed through the DBDictionary unless it
is null.public void clearSet()
public boolean isValid()
SQLStatementisValid in class SQLStatementpublic void clear()
SQLStatementclear in class SQLStatementpublic SQLBuffer getSQLBuffer()
SQLStatementgetSQLBuffer in class SQLStatement
|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||