Package com.foundationdb.server.service.routines

Examples of com.foundationdb.server.service.routines.ScriptEvaluator


    }

    @Override
    public CompoundExplainer getExplainer(ExplainContext context) {
        Attributes atts = new Attributes();
        ScriptEvaluator evaluator = pool.get();
        atts.put(Label.PROCEDURE_IMPLEMENTATION,
                 PrimitiveExplainer.getInstance(evaluator.getEngineName()));
        if (evaluator.isCompiled())
            atts.put(Label.PROCEDURE_IMPLEMENTATION,
                     PrimitiveExplainer.getInstance("compiled"));
        if (evaluator.isShared())
            atts.put(Label.PROCEDURE_IMPLEMENTATION,
                     PrimitiveExplainer.getInstance("shared"));
        pool.put(evaluator, true);       
        return new ServerCallExplainer(getInvocation(), atts, context);
    }
View Full Code Here

TOP

Related Classes of com.foundationdb.server.service.routines.ScriptEvaluator

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.