|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.solarmetric.kodo.query.QueryImpl
|
+--com.solarmetric.kodo.impl.jdbc.query.JDBCQuery
JDBC Query implementation.
| Inner classes inherited from class com.solarmetric.kodo.query.QueryImpl |
QueryImpl.AggregateQueryExecutor, QueryImpl.DatastoreQueryExecutor, QueryImpl.InMemoryQueryExecutor, QueryImpl.ParsedExpression, QueryImpl.QueryExecutionManager, QueryImpl.QueryExecutor, QueryImpl.QueryResultComparator |
| Field Summary | |
static int |
JOIN_DATABASE
Constant for using database-specific select syntax. |
static int |
JOIN_SQL92
Constant for using ANSI select syntax. |
static int |
JOIN_TRADITIONAL
Constant for using traditional select syntax. |
| Fields inherited from interface com.solarmetric.kodo.query.KodoQuery |
FLUSH_ALWAYS, FLUSH_ALWAYS_MODE, FLUSH_NEVER, FLUSH_NEVER_MODE, FLUSH_WITH_CONNECTION, FLUSH_WITH_CONNECTION_MODE |
| Constructor Summary | |
JDBCQuery(JDBCStoreManager store,
Object copy)
Constructor. |
|
| Method Summary | |
(package private) static void |
|
protected void |
close(List result)
Close the given query result. |
protected ResultList |
executeQuery(ClassMetaData meta,
boolean subclasses,
com.solarmetric.kodo.query.ExpressionFactory factory,
com.solarmetric.kodo.query.Expression exp,
Map params)
Execute the given expression against the given candidate extent. |
protected com.solarmetric.kodo.query.ExpressionFactory |
getExpressionFactory(ClassMetaData meta)
Return an ExpressionFactory to use to create an expression to
be executed against an extent. |
protected FilterListener |
getStandardFilterListener(String tag)
Return the standard filter extension for the given tag, or null if none. |
int |
getUseSQL92Joins()
Return whether to use SQL 92-style joins for this query. |
void |
setUseSQL92Joins(int joinSyntax)
Set whether to use SQL 92-style joins for this query. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int JOIN_SQL92
public static final int JOIN_TRADITIONAL
public static final int JOIN_DATABASE
| Constructor Detail |
public JDBCQuery(JDBCStoreManager store,
Object copy)
store - the store managercopy - a compiled query to copy configuration from, or null| Method Detail |
static void()
public int getUseSQL92Joins()
com.solarmetric.kodo.impl.jdbc.UseSQL92Joins
configuration property. Available settings are:
public void setUseSQL92Joins(int joinSyntax)
com.solarmetric.kodo.impl.jdbc.UseSQL92Joins
configuration property.
protected ResultList executeQuery(ClassMetaData meta,
boolean subclasses,
com.solarmetric.kodo.query.ExpressionFactory factory,
com.solarmetric.kodo.query.Expression exp,
Map params)
QueryImplexecuteQuery in class QueryImplcom.solarmetric.kodo.query.QueryImpltype - the base type the query should matchsubclasses - true if subclasses should be included in the
resultsfactory - the expression factory used to compile the
expressionexp - the compiled expression for the parsed queryparams - map of parameter names to valuesprotected com.solarmetric.kodo.query.ExpressionFactory getExpressionFactory(ClassMetaData meta)
QueryImplExpressionFactory to use to create an expression to
be executed against an extent. Each factory will be used to compile
one filter only.getExpressionFactory in class QueryImplprotected FilterListener getStandardFilterListener(String tag)
QueryImplConfiguration.getStandardFilterListener in class QueryImplprotected void close(List result)
QueryImplclose in class QueryImpl
|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||