Package org.exist.xquery

Examples of org.exist.xquery.Optimizer


      AnalyzeContextInfo info = new AnalyzeContextInfo((XQueryContext)context);
      info.setFlags(Expression.IN_NODE_CONSTRUCTOR);
        expr.analyze(info);

        if (context.optimizationsEnabled()) {
            Optimizer optimizer = new Optimizer((XQueryContext) context);
            expr.accept(optimizer);
            if (optimizer.hasOptimized()) {
                context.reset(true);
                expr.resetState(true);
                expr.analyze(new AnalyzeContextInfo());
            }
        }
View Full Code Here

TOP

Related Classes of org.exist.xquery.Optimizer

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.