|
SolarMetric Kodo JDO 3.0.3 generated on February 20 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A Value represents any non-operator in a query filter, including constants, variables, and object fields.
| Method Summary | |
void |
appendIsEmpty(SQLBuffer sql)
Append the SQL testing whether this value is empty to the given buffer. |
void |
appendIsNotNull(SQLBuffer sql)
Append the SQL testing whether this value is not null to the given buffer. |
void |
appendIsNull(SQLBuffer sql)
Append the SQL testing whether this value is null to the given buffer. |
void |
appendTo(SQLBuffer sql,
int index)
Append the SQL for this value to the given buffer. |
void |
calculateValue(KodoPersistenceManager pm,
Map params,
JDBCValue other)
Calculate and cache the SQL for this value. |
void |
castTo(Class cls)
Cast this value to the given type. |
Object |
getDataStoreValue(Object val,
KodoPersistenceManager pm)
Transform the given value into its datastore equivalent. |
Joins |
getJoins()
Return the joins for this value. |
void |
initialize(KodoPersistenceManager pm,
Select select,
boolean nullTest)
Initialize the value. |
int |
length()
Return the number of SQL elements in this value. |
Object |
load(Result res,
JDBCStoreManager store,
JDBCFetchConfiguration fetch)
Load the data for this value. |
void |
select(Select sel,
JDBCStoreManager store,
JDBCFetchConfiguration fetch)
Select the data for this value. |
| Methods inherited from interface kodo.query.Value |
getMetaData, isVariable, setMetaData |
| Method Detail |
public void castTo(Class cls)
public void initialize(KodoPersistenceManager pm,
Select select,
boolean nullTest)
Joins instance
containing the joins for this value.pm - the persistence manager for the queryselect - used to create Joins instancesnullTest - if true, then this value will be compared
to null or tested for emptiness
public void calculateValue(KodoPersistenceManager pm,
Map params,
JDBCValue other)
public int length()
public void appendTo(SQLBuffer sql,
int index)
public void appendIsEmpty(SQLBuffer sql)
public void appendIsNull(SQLBuffer sql)
public void appendIsNotNull(SQLBuffer sql)
public Joins getJoins()
initialize(kodo.runtime.KodoPersistenceManager, kodo.jdbc.sql.Select, boolean) method. The parent
expression might modify these joins during its own initialization so
that common joins are moved up the expression tree. These joins
should not be included in the SQL appended through any of the
append methods.
public Object getDataStoreValue(Object val,
KodoPersistenceManager pm)
public void select(Select sel,
JDBCStoreManager store,
JDBCFetchConfiguration fetch)
public Object load(Result res,
JDBCStoreManager store,
JDBCFetchConfiguration fetch)
throws SQLException
|
SolarMetric Kodo JDO 3.0.3 generated on February 20 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||