Package org.datanucleus.query.evaluator

Examples of org.datanucleus.query.evaluator.JavaQueryEvaluator


                List<Object> rawResults =
                    new ForceQueryUtils(ec, mconn, this, parameters, listeners, getExtensions())
                            .getObjectsOfCandidateType(compilation.getExprResult());
                if (ForceQueryUtils.getLimitType(this) == LimitType.Java) {
                    // Apply any result restrictions to the results
                    JavaQueryEvaluator resultMapper = new JDOQLEvaluator(this, rawResults, compilation,
                        parameters, ec.getClassLoaderResolver());
                    results = resultMapper.execute(false, false, false, false, true);
                } else {
                    results = rawResults;
                }
            }

            if (candidates != null) {
                // Apply any result restrictions to the results
                JavaQueryEvaluator resultMapper = new JDOQLEvaluator(this, candidates, compilation,
                    parameters, ec.getClassLoaderResolver());
                results = resultMapper.execute(true, true, true, true, true);
            }

            if (NucleusLogger.QUERY.isDebugEnabled()) {
                NucleusLogger.QUERY.debug(LOCALISER.msg("021074", "JDOQL",
                    "" + (System.currentTimeMillis() - startTime)));
View Full Code Here

TOP

Related Classes of org.datanucleus.query.evaluator.JavaQueryEvaluator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.