|
SolarMetric Kodo JDO 3.4.1 generated on May 30 2006 | ||||||||
| 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,
Select sel,
JDBCStoreManager store,
Object[] params,
JDBCFetchConfiguration fetch)
Append the SQL testing whether this value is empty to the given buffer. |
void |
appendIsNotNull(SQLBuffer sql,
Select sel,
JDBCStoreManager store,
Object[] params,
JDBCFetchConfiguration fetch)
Append the SQL testing whether this value is not null to the given buffer. |
void |
appendIsNull(SQLBuffer sql,
Select sel,
JDBCStoreManager store,
Object[] params,
JDBCFetchConfiguration fetch)
Append the SQL testing whether this value is null to the given buffer. |
void |
appendTo(SQLBuffer sql,
int index,
Select sel,
JDBCStoreManager store,
Object[] params,
JDBCFetchConfiguration fetch)
Append the indexth SQL element to the given buffer. |
void |
calculateValue(Select sel,
JDBCStoreManager store,
Object[] params,
Val other,
JDBCFetchConfiguration fetch)
Calculate and cache the SQL for this value. |
void |
clearParameters()
Clear parameter values held by this value or its subcomponents. |
Object |
getDataStoreValue(Object val,
JDBCStoreManager store)
Return the datastore value of the given object in the context of this value. |
Joins |
getJoins()
Return the joins for this value. |
boolean |
hasVariable(kodo.jdbc.query.Variable var)
Return true if this value uses the given variable. |
void |
initialize(Select sel,
JDBCStoreManager store,
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,
Object[] params,
boolean pks,
JDBCFetchConfiguration fetch)
Select the data for this value. |
void |
selectColumns(Select sel,
JDBCStoreManager store,
Object[] params,
boolean pks,
JDBCFetchConfiguration fetch)
Select just the columns for this value. |
| Methods inherited from interface kodo.query.Value |
getMetaData, getType, isVariable, setImplicitType, setMetaData |
| Method Detail |
public void initialize(Select sel,
JDBCStoreManager store,
boolean nullTest)
Joins instance
containing the joins for this value. No additional joins should be
made after this call. 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.sel - used to create Joins instancesstore - the store manager for the querynullTest - if true, then this value will be compared
to null or tested for emptinesspublic Joins getJoins()
initialize(kodo.jdbc.sql.Select, kodo.jdbc.runtime.JDBCStoreManager, boolean) method. The parent
expression might modify these joins during its own initialization so
that common joins are moved up the expression tree.
public Object getDataStoreValue(Object val,
JDBCStoreManager store)
public void select(Select sel,
JDBCStoreManager store,
Object[] params,
boolean pks,
JDBCFetchConfiguration fetch)
public void selectColumns(Select sel,
JDBCStoreManager store,
Object[] params,
boolean pks,
JDBCFetchConfiguration fetch)
public Object load(Result res,
JDBCStoreManager store,
JDBCFetchConfiguration fetch)
throws SQLException
public boolean hasVariable(kodo.jdbc.query.Variable var)
public void calculateValue(Select sel,
JDBCStoreManager store,
Object[] params,
Val other,
JDBCFetchConfiguration fetch)
length or any append methods.other - the value being compared to, or null if not a comparisonpublic void clearParameters()
calculateValue.public int length()
public void appendTo(SQLBuffer sql,
int index,
Select sel,
JDBCStoreManager store,
Object[] params,
JDBCFetchConfiguration fetch)
indexth SQL element to the given buffer.
public void appendIsEmpty(SQLBuffer sql,
Select sel,
JDBCStoreManager store,
Object[] params,
JDBCFetchConfiguration fetch)
public void appendIsNull(SQLBuffer sql,
Select sel,
JDBCStoreManager store,
Object[] params,
JDBCFetchConfiguration fetch)
public void appendIsNotNull(SQLBuffer sql,
Select sel,
JDBCStoreManager store,
Object[] params,
JDBCFetchConfiguration fetch)
|
SolarMetric Kodo JDO 3.4.1 generated on May 30 2006 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||