@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { return context.addDependencies(this, this._value.computeDependencies(context)); }
@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { context.addDependencies(this, _left.computeDependencies(context)); return context.addDependencies(this, _right.computeDependencies(context)); }
@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { context.addDependencies(this, this.receiver.computeDependencies(context)); return context.addDependencies(this, this.indexExpr.computeDependencies(context)); }
@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { return context.addDependencies(this, this._value.computeDependencies(context)); }
@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { return context.addDependencies(this, this._value.computeDependencies(context)); }
@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { context.addDependencies(this, _left.computeDependencies(context)); return context.addDependencies(this, _right.computeDependencies(context)); }
@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { context.addDependencies(this, this.elm.computeDependencies(context)); return context.addDependencies(this, this.colln.computeDependencies(context)); }
@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { return context.addDependencies(this, this._receiver.computeDependencies(context)); }
/** * TODO: We need to implement the belwo method of computeDependencies Once we come to implement * changes for partitioned region querying, as in that case if first iterator itself is a Select * Query , then ideally we cannot call that CompiledIteratorDef independent ( which will be the * case at present). When we use this commented function we will also need to take care of * correctly implementing the function isDependentOnCurrentScope etc functions. */ @Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { return context.addDependencies(this, this.collectionExpr.computeDependencies(context)); }
@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { for (Iterator itr = this.args.iterator(); itr.hasNext();) { CompiledValue cv = (CompiledValue) itr.next(); context.addDependencies(this, cv.computeDependencies(context)); } return context.getDependencySet(this, true); } }
@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { int len = this._args.length; for (int i = 0; i < len; i++) { context.addDependencies(this, this._args[i].computeDependencies(context)); } return context.getDependencySet(this, true); }
@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { for (int i = 0; i < _operands.length; i++) { context.addDependencies(this, this._operands[i].computeDependencies(context)); } return context.getDependencySet(this, true); }
@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { CompiledValue v = context.resolve(getId()); return context.addDependencies(this, v.computeDependencies(context)); }
@Override public Set computeDependencies(ExecutionContext context) throws TypeMismatchException, AmbiguousNameException, NameResolutionException { List args = this.args; Iterator i = args.iterator(); while (i.hasNext()) { context.addDependencies(this, ((CompiledValue) i.next()).computeDependencies(context)); } CompiledValue rcvr = getReceiver(context); if (rcvr == null) // implicit iterator operation { // see if it's an implicit operation name RuntimeIterator rcvrItr = context.resolveImplicitOperationName(this.methodName, this.args.size(), true); if (rcvrItr == null) { // no receiver resolved // function call: no functions implemented except keywords in the grammar throw new TypeMismatchException( String.format("Could not resolve method named ' %s '", this.methodName)); } // cache the receiver so we don't have to resolve it again context.cachePut(this, rcvrItr); return context.addDependency(this, rcvrItr); } // receiver is explicit return context.addDependencies(this, rcvr.computeDependencies(context)); }
context.addDependencies(this, this.whereClause.computeDependencies(context)); totalDependencySet = context.addDependencies(this, prjExpr.computeDependencies(context));
this.compiledQuery.computeDependencies(context); if (testHook != null) { testHook.doTestHook(DefaultQuery.TestHook.SPOTS.BEFORE_QUERY_EXECUTION, this);