|
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 | |||||||||
java.lang.Object | +--com.solarmetric.rd.kodo.impl.jdbc.query.exp.CompareEqualExpression
Compares two values for equality.
| Constructor Summary | |
CompareEqualExpression(com.solarmetric.rd.kodo.impl.jdbc.query.exp.JDBCValue val1,
com.solarmetric.rd.kodo.impl.jdbc.query.exp.JDBCValue val2)
Constructor. |
|
| Method Summary | |
void |
appendOrdering(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer[] orders,
boolean[] ascending,
int idx,
com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
java.util.Map params)
Append the ordering for this expression to the given buffer. |
protected abstract void |
appendTo(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer buf,
boolean val1Null,
boolean val2Null)
Append the SQL for the comparison. |
void |
appendTo(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer buf,
com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
java.util.Map params)
Append the SQL for this expression to the given buffer. |
protected boolean |
compareValueToNull()
Subclasses can override this method if, when they compare to null, they compare the field value rather than the entire field to null. |
com.solarmetric.rd.kodo.impl.jdbc.runtime.Joins |
getJoins()
Return the joins for this expression. |
com.solarmetric.rd.kodo.impl.jdbc.query.exp.JDBCValue |
getValue1()
|
com.solarmetric.rd.kodo.impl.jdbc.query.exp.JDBCValue |
getValue2()
|
void |
initialize(com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
com.solarmetric.rd.kodo.impl.jdbc.runtime.Select select,
java.util.Map containsCounts)
Initialize the expression. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CompareEqualExpression(com.solarmetric.rd.kodo.impl.jdbc.query.exp.JDBCValue val1,
com.solarmetric.rd.kodo.impl.jdbc.query.exp.JDBCValue val2)
| Method Detail |
public com.solarmetric.rd.kodo.impl.jdbc.query.exp.JDBCValue getValue1()
public com.solarmetric.rd.kodo.impl.jdbc.query.exp.JDBCValue getValue2()
public void initialize(com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
com.solarmetric.rd.kodo.impl.jdbc.runtime.Select select,
java.util.Map containsCounts)
JDBCExpressionJoins instance containing the joins for this
expression.
initialize in interface JDBCExpressionpm - the persistence manager for this queryselect - manage joins made in each query clausecontainsCounts - map of relation paths to the number of times
the paths appear in a contains() expression;
used to ensure paths used for contains() within
the same AND expression used different aliases
public void appendTo(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer buf,
com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
java.util.Map params)
JDBCExpression
appendTo in interface JDBCExpression
public void appendOrdering(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer[] orders,
boolean[] ascending,
int idx,
com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
java.util.Map params)
JDBCExpression
appendOrdering in interface JDBCExpressionpublic com.solarmetric.rd.kodo.impl.jdbc.runtime.Joins getJoins()
JDBCExpressionJDBCExpression.initialize(com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl, com.solarmetric.rd.kodo.impl.jdbc.runtime.Select, java.util.Map) method. The parent
expression might modify these joins during its own initialization so
that common joins are moved up the expression tree.
getJoins in interface JDBCExpression
protected abstract void appendTo(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer buf,
boolean val1Null,
boolean val2Null)
protected boolean compareValueToNull()
|
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 | |||||||||