|
SolarMetric Kodo JDO 3.2.4 generated on January 7 2005 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--kodo.jdbc.query.Args
A list of arguments to a multi-argument function.
| Constructor Summary | |
Args(kodo.jdbc.query.Val val1,
kodo.jdbc.query.Val val2)
Constructor. |
|
| 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,
kodo.jdbc.query.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. |
ClassMetaData |
getMetaData()
Return any associated persistent type. |
Class |
getType()
Return the expected type for this value, or Object if
the type is unknown. |
Class[] |
getTypes()
|
kodo.jdbc.query.Val[] |
getVals()
|
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. |
boolean |
isVariable()
Return true if this value is a variable. |
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. |
void |
setImplicitType(Class type)
Set the implicit type of the value, based on how it is used in the filter. |
void |
setMetaData(ClassMetaData meta)
Associate a persistent type with this value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Args(kodo.jdbc.query.Val val1,
kodo.jdbc.query.Val val2)
| Method Detail |
public kodo.jdbc.query.Val[] getVals()
public ClassMetaData getMetaData()
ValuegetMetaData in interface Valuepublic void setMetaData(ClassMetaData meta)
ValuesetMetaData in interface Valuepublic boolean isVariable()
ValueisVariable in interface Valuepublic Class getType()
ValueObject if
the type is unknown.getType in interface Valuepublic Class[] getTypes()
public void setImplicitType(Class type)
ValueObject from Value.getType().setImplicitType in interface Value
public void initialize(Select sel,
JDBCStoreManager store,
boolean nullTest)
kodo.jdbc.query.ValJoins 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.initialize in interface kodo.jdbc.query.Valkodo.jdbc.query.Valsel - 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()
kodo.jdbc.query.ValVal.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.getJoins in interface kodo.jdbc.query.Val
public Object getDataStoreValue(Object val,
JDBCStoreManager store)
kodo.jdbc.query.ValgetDataStoreValue in interface kodo.jdbc.query.Val
public void select(Select sel,
JDBCStoreManager store,
Object[] params,
boolean pks,
JDBCFetchConfiguration fetch)
kodo.jdbc.query.Valselect in interface kodo.jdbc.query.Val
public void selectColumns(Select sel,
JDBCStoreManager store,
Object[] params,
boolean pks,
JDBCFetchConfiguration fetch)
kodo.jdbc.query.ValselectColumns in interface kodo.jdbc.query.Val
public Object load(Result res,
JDBCStoreManager store,
JDBCFetchConfiguration fetch)
kodo.jdbc.query.Valload in interface kodo.jdbc.query.Valpublic boolean hasVariable(kodo.jdbc.query.Variable var)
kodo.jdbc.query.ValhasVariable in interface kodo.jdbc.query.Val
public void calculateValue(Select sel,
JDBCStoreManager store,
Object[] params,
kodo.jdbc.query.Val other,
JDBCFetchConfiguration fetch)
kodo.jdbc.query.Vallength or any append methods.calculateValue in interface kodo.jdbc.query.Valkodo.jdbc.query.Valother - the value being compared to, or null if not a comparisonpublic void clearParameters()
kodo.jdbc.query.ValcalculateValue.clearParameters in interface kodo.jdbc.query.Valpublic int length()
kodo.jdbc.query.Vallength in interface kodo.jdbc.query.Val
public void appendTo(SQLBuffer sql,
int index,
Select sel,
JDBCStoreManager store,
Object[] params,
JDBCFetchConfiguration fetch)
kodo.jdbc.query.Valindexth SQL element to the given buffer.appendTo in interface kodo.jdbc.query.Val
public void appendIsEmpty(SQLBuffer sql,
Select sel,
JDBCStoreManager store,
Object[] params,
JDBCFetchConfiguration fetch)
kodo.jdbc.query.ValappendIsEmpty in interface kodo.jdbc.query.Val
public void appendIsNull(SQLBuffer sql,
Select sel,
JDBCStoreManager store,
Object[] params,
JDBCFetchConfiguration fetch)
kodo.jdbc.query.ValappendIsNull in interface kodo.jdbc.query.Val
public void appendIsNotNull(SQLBuffer sql,
Select sel,
JDBCStoreManager store,
Object[] params,
JDBCFetchConfiguration fetch)
kodo.jdbc.query.ValappendIsNotNull in interface kodo.jdbc.query.Val
|
SolarMetric Kodo JDO 3.2.4 generated on January 7 2005 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||