|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.kernel.exps.SelectConstructor
public class SelectConstructor
Turns parsed queries into selects.
Constructor Summary | |
---|---|
SelectConstructor()
|
Method Summary | |
---|---|
Select |
evaluate(ExpContext ctx,
Select parent,
String alias,
QueryExpressions exps,
QueryExpressionsState state)
Evaluate the expression, returning a new select and filling in any associated expression state. |
boolean |
isExtent()
Return true if we know the select to have on criteria; to be an extent. |
void |
select(Select sel,
ExpContext ctx,
ClassMapping mapping,
boolean subclasses,
QueryExpressions exps,
QueryExpressionsState state,
int eager)
Select the data for this query. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectConstructor()
Method Detail |
---|
public boolean isExtent()
evaluate(org.apache.openjpa.jdbc.kernel.exps.ExpContext, org.apache.openjpa.jdbc.sql.Select, java.lang.String, org.apache.openjpa.kernel.exps.QueryExpressions, org.apache.openjpa.jdbc.kernel.exps.QueryExpressionsState)
may still
return null if we haven't cached whether the query is an extent yet.
public Select evaluate(ExpContext ctx, Select parent, String alias, QueryExpressions exps, QueryExpressionsState state)
select(org.apache.openjpa.jdbc.sql.Select, org.apache.openjpa.jdbc.kernel.exps.ExpContext, org.apache.openjpa.jdbc.meta.ClassMapping, boolean, org.apache.openjpa.kernel.exps.QueryExpressions, org.apache.openjpa.jdbc.kernel.exps.QueryExpressionsState, int)
to then select the data.
ctx
- fill with execution contextstate
- will be filled with expression statepublic void select(Select sel, ExpContext ctx, ClassMapping mapping, boolean subclasses, QueryExpressions exps, QueryExpressionsState state, int eager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |