|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer sql)
Append the SQL testing whether this value is empty to the given buffer. |
void |
appendIsNotNull(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer sql)
Append the SQL testing whether this value is not null to the given buffer. |
void |
appendIsNull(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer sql)
Append the SQL testing whether this value is null to the given buffer. |
void |
appendTo(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer sql,
int index)
Append the SQL for this value to the given buffer. |
void |
calculateValue(com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
java.util.Map params,
com.solarmetric.rd.kodo.impl.jdbc.query.exp.JDBCValue other)
Calculate and cache the SQL for this value. |
void |
castTo(java.lang.Class cls)
Cast this value to the given class. |
java.lang.Object |
getDataStoreValue(java.lang.Object val)
Transform the given value into its datastore equivalent. |
com.solarmetric.rd.kodo.impl.jdbc.runtime.Joins |
getJoins()
Return the joins for this value. |
void |
initialize(com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
com.solarmetric.rd.kodo.impl.jdbc.runtime.Select select,
boolean nullTest)
Initialize the value. |
int |
length()
Return the number of SQL elements in this value. |
| Methods inherited from interface com.solarmetric.rd.kodo.query.Value |
isVariable |
| Method Detail |
public void initialize(com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
com.solarmetric.rd.kodo.impl.jdbc.runtime.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 emptinesspublic void castTo(java.lang.Class cls)
public void calculateValue(com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
java.util.Map params,
com.solarmetric.rd.kodo.impl.jdbc.query.exp.JDBCValue other)
public int length()
public void appendTo(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer sql,
int index)
public void appendIsEmpty(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer sql)
public void appendIsNull(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer sql)
public void appendIsNotNull(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer sql)
public com.solarmetric.rd.kodo.impl.jdbc.runtime.Joins getJoins()
initialize(com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl, com.solarmetric.rd.kodo.impl.jdbc.runtime.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 java.lang.Object getDataStoreValue(java.lang.Object val)
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||