ParametricVariableDetector detector = new ParametricVariableDetector(shippedVars, statEnv);
detector.visit(_queryExpr, null);
final XQExpression compiledExpr;
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()) {