public void computeDerivedJoinResults(IndexInfo theCallingIndex, ExecutionContext context,
CompiledValue iterOps) throws FunctionDomainException, TypeMismatchException,
NameResolutionException, QueryInvocationTargetException {
if (theCallingIndex != null && iterOps != null) {
if (iterOps instanceof CompiledJunction) {
List opsList = ((CompiledJunction) iterOps).getOperands();
this.setOriginalOps(opsList);
createDerivedJoinResultsFromOpsList(
(QueryUtils.getCompiledIdFromPath(theCallingIndex._path)).getId(), context, opsList);
} else if (iterOps.getType() == CompiledValue.COMPARISON) {
createDerivedJoinResultsFromCC(
(QueryUtils.getCompiledIdFromPath(theCallingIndex._path)).getId(),
(CompiledComparison) iterOps, context);
}
}
}