Package xbird.engine.request

Examples of xbird.engine.request.CompileRequest


        final Signature rsig = request.getSignature();
        if(rsig != Signature.COMPILE) {
            throw new IllegalStateException("Illegal command is passed to DistributedCompileProcessor: "
                    + rsig);
        }
        final CompileRequest compileRequest = (CompileRequest) request;
        final XQExpression rawExpr = compileRequest.getExpression();

        final StaticContext statEnv = new StaticContext();
        final XQExpression compiledExpr;
        try {
            compiledExpr = rawExpr.staticAnalysis(statEnv);
View Full Code Here


            if(analyzedEndpoint instanceof LiteralExpr) {// distributed compile                
                LiteralExpr epLiteral = (LiteralExpr) analyzedEndpoint;
                String endpoint = epLiteral.getValue().stringValue();

                final XQEngineClient client = new XQEngineClient(endpoint);
                final CompileRequest request = new CompileRequest(_queryExpr);

                if(LOG.isInfoEnabled()) {
                    LOG.info("Invoking remote compilation at [" + endpoint + "]:\n " + _queryExpr);
                }
View Full Code Here

TOP

Related Classes of xbird.engine.request.CompileRequest

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.