|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.kernel.exps.Val
org.apache.openjpa.kernel.exps.SubQ
class SubQ
An in-memory representation of a Subquery. Currently
subqueries aren't supported for in-memory use.
| Constructor Summary | |
|---|---|
SubQ(String alias)
|
|
| Method Summary | |
|---|---|
protected Object |
eval(Object candidate,
Object orig,
StoreContext ctx,
Object[] params)
Return this value for the given candidate. |
String |
getCandidateAlias()
Return the candidate alias for this subquery. |
Object |
getSelect()
|
String |
getSubqAlias()
|
Class |
getType()
Return the expected type for this value, or Object if
the type is unknown. |
void |
setImplicitType(Class type)
Set the implicit type of the value, based on how it is used in the filter. |
void |
setQueryExpressions(QueryExpressions q)
Set the parsed subquery. |
void |
setSubqAlias(String subqAlias)
|
| Methods inherited from class org.apache.openjpa.kernel.exps.Val |
|---|
acceptVisit, eval, evaluate, evaluate, getAlias, getMetaData, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, setMetaData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.openjpa.kernel.exps.Value |
|---|
acceptVisit, getAlias, getMetaData, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, setMetaData |
| Constructor Detail |
|---|
public SubQ(String alias)
| Method Detail |
|---|
public Object getSelect()
getSelect in interface Subquerypublic String getCandidateAlias()
Subquery
getCandidateAlias in interface Subquerypublic void setSubqAlias(String subqAlias)
setSubqAlias in interface Subquerypublic String getSubqAlias()
getSubqAlias in interface Subquerypublic void setQueryExpressions(QueryExpressions q)
Subquery
setQueryExpressions in interface Subquerypublic Class getType()
ValueObject if
the type is unknown.
getType in interface Valuepublic void setImplicitType(Class type)
ValueObject from Value.getType().
setImplicitType in interface Value
protected Object eval(Object candidate,
Object orig,
StoreContext ctx,
Object[] params)
Val
eval in class Val
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||